diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-08-05 13:30:48 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:06 -0400 |
commit | 4ca8b41e3fe76cc5774fbcc6cba64259d69e0f96 (patch) | |
tree | f3f0b47dc8a72657105eff6f6b005b8d2d3699cc /fs/btrfs/disk-io.c | |
parent | 7ea394f1192bee1af67ea4762c88ef4b7b0487a8 (diff) | |
download | blackbird-op-linux-4ca8b41e3fe76cc5774fbcc6cba64259d69e0f96.tar.gz blackbird-op-linux-4ca8b41e3fe76cc5774fbcc6cba64259d69e0f96.zip |
Btrfs: Avoid calling into the FS for the final iput on fake root inodes
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 76543683f3b9..56c54a41dbbb 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -1739,6 +1739,7 @@ int close_ctree(struct btrfs_root *root) free_extent_buffer(root->fs_info->dev_root->node); btrfs_free_block_groups(root->fs_info); + fs_info->closing = 2; del_fs_roots(fs_info); filemap_write_and_wait(fs_info->btree_inode->i_mapping); |