Chris Mason ab93dbecfb 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 <chris.mason@oracle.com>
2009-10-01 12:29:10 -04:00
..
2009-09-28 16:29:42 -04:00
2009-09-28 16:29:42 -04:00
2009-09-28 16:29:42 -04:00
2009-09-28 16:29:42 -04:00
2009-09-28 16:29:42 -04:00
2009-09-29 13:51:04 -04:00