aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/async-thread.h
diff options
context:
space:
mode:
authorChris Mason <[email protected]>2009-10-01 16:29:10 +0000
committerChris Mason <[email protected]>2009-10-01 16:29:10 +0000
commitab93dbecfba72bbc04b7036343d180aaff1b61a3 (patch)
tree6bb523dcf9be0885b6fa9cb6cc9ac694ee089028 /fs/btrfs/async-thread.h
parentBtrfs: fix arguments to btrfs_wait_on_page_writeback_range (diff)
downloadkernel-ab93dbecfba72bbc04b7036343d180aaff1b61a3.tar.gz
kernel-ab93dbecfba72bbc04b7036343d180aaff1b61a3.zip
Btrfs: take i_mutex before generic_write_checks
btrfs_file_write was incorrectly calling generic_write_checks without taking i_mutex. This lead to problems with racing around i_size when doing O_APPEND writes. The fix here is to move i_mutex higher. Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.h')
0 files changed, 0 insertions, 0 deletions