diff options
author | Chris Mason <chris.mason@oracle.com> | 2009-10-01 12:29:10 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-10-01 12:29:10 -0400 |
commit | ab93dbecfba72bbc04b7036343d180aaff1b61a3 (patch) | |
tree | 6bb523dcf9be0885b6fa9cb6cc9ac694ee089028 /net/ipv6/udp.c | |
parent | 35d62a942db5ae03104929fe7397835b572c4bc4 (diff) | |
download | blackbird-op-linux-ab93dbecfba72bbc04b7036343d180aaff1b61a3.tar.gz blackbird-op-linux-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 <chris.mason@oracle.com>
Diffstat (limited to 'net/ipv6/udp.c')
0 files changed, 0 insertions, 0 deletions