[XFS] make btree root in inode support generic
[deliverable/linux.git] / fs / xfs / xfs_bmap_btree.c
index cfbdd00045cfcbc8bbd66f8ee2aedaa75519b2f6..d9bbed676e0c0c84cff7a76f4d1fcd8c47142b0e 100644 (file)
@@ -2656,6 +2656,7 @@ xfs_bmbt_init_cursor(
        cur->bc_blocklog = mp->m_sb.sb_blocklog;
 
        cur->bc_ops = &xfs_bmbt_ops;
+       cur->bc_flags = XFS_BTREE_ROOT_IN_INODE;
 
        cur->bc_private.b.forksize = XFS_IFORK_SIZE(ip, whichfork);
        cur->bc_private.b.ip = ip;
This page took 0.027801 seconds and 5 git commands to generate.