diff options
author | Stefan Behrens <sbehrens@giantdisaster.de> | 2013-05-16 16:48:19 +0200 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-05-18 03:40:36 +0200 |
commit | 3a6cad9009c85e29e83aafc8ac00b1dd5067fc5f (patch) | |
tree | 6f833c82426261bcc7588e048c1f2e00a878446d /fs/bad_inode.c | |
parent | btrfs: do away with non-whole_page extent I/O (diff) | |
download | linux-3a6cad9009c85e29e83aafc8ac00b1dd5067fc5f.tar.xz linux-3a6cad9009c85e29e83aafc8ac00b1dd5067fc5f.zip |
Btrfs: explicitly use global_block_rsv for quota_tree
The quota_tree was set up to use the empty_block_rsv before
which would be problematic when the filesystem is filled up
and ENOSPC happens during internal operations while the quota
tree is updated and COWed (when the btrfs_qgroup_info_item
items) are written. In fact, use_block_rsv() which is used
in btrfs_cow_block() falls back to the global_block_rsv in
this case. But just in order to make it more clear what is
happening, change it to explicitly use the global_block_rsv.
Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/bad_inode.c')
0 files changed, 0 insertions, 0 deletions