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
2008-09-25 11:04:06 -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-02-04 09:28:28 -05:00
2009-04-02 16:46:06 -04:00
2009-01-05 21:25:51 -05:00
2009-09-28 16:29:42 -04:00
2009-09-29 13:51:04 -04:00
2009-02-04 09:29:13 -05:00