diff options
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 94abc25392f6..632f8f3cc9db 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c | |||
@@ -2007,7 +2007,7 @@ struct btrfs_root *open_ctree(struct super_block *sb, | |||
2007 | sb->s_bdi = &fs_info->bdi; | 2007 | sb->s_bdi = &fs_info->bdi; |
2008 | 2008 | ||
2009 | fs_info->btree_inode->i_ino = BTRFS_BTREE_INODE_OBJECTID; | 2009 | fs_info->btree_inode->i_ino = BTRFS_BTREE_INODE_OBJECTID; |
2010 | fs_info->btree_inode->i_nlink = 1; | 2010 | set_nlink(fs_info->btree_inode, 1); |
2011 | /* | 2011 | /* |
2012 | * we set the i_size on the btree inode to the max possible int. | 2012 | * we set the i_size on the btree inode to the max possible int. |
2013 | * the real end of the address space is determined by all of | 2013 | * the real end of the address space is determined by all of |