]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - fs/btrfs/disk-io.c
Merge branch 'restriper' of git://github.com/idryomov/btrfs-unstable into integration
[~shefty/rdma-dev.git] / fs / btrfs / disk-io.c
index c23b82d8ec08aa5e90553c481451dfb9d1bd555c..9c1a744e595b076868e966867a6bd55e5f6376cd 100644 (file)
@@ -2015,7 +2015,7 @@ struct btrfs_root *open_ctree(struct super_block *sb,
        sb->s_bdi = &fs_info->bdi;
 
        fs_info->btree_inode->i_ino = BTRFS_BTREE_INODE_OBJECTID;
-       fs_info->btree_inode->i_nlink = 1;
+       set_nlink(fs_info->btree_inode, 1);
        /*
         * we set the i_size on the btree inode to the max possible int.
         * the real end of the address space is determined by all of