summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_probe.c
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2011-09-08 04:26:51 +0200
committerDavid Sterba <dsterba@suse.cz>2011-10-20 18:10:44 +0200
commitf0dd9592a1aa014b3a01aa2be7e795aae040d65b (patch)
treea57eaec0eb40c490254af749c2bda77534002e9e /net/ipv4/tcp_probe.c
parentBtrfs: remove BUG_ON() in compress_file_range() (diff)
downloadlinux-f0dd9592a1aa014b3a01aa2be7e795aae040d65b.tar.xz
linux-f0dd9592a1aa014b3a01aa2be7e795aae040d65b.zip
Btrfs: fix direct-io vs nodatacow
To reproduce the bug: # mount -o nodatacow /dev/sda7 /mnt/ # dd if=/dev/zero of=/mnt/tmp bs=4K count=1 1+0 records in 1+0 records out 4096 bytes (4.1 kB) copied, 0.000136115 s, 30.1 MB/s # dd if=/dev/zero of=/mnt/tmp bs=4K count=1 conv=notrunc oflag=direct dd: writing `/mnt/tmp': Input/output error 1+0 records in 0+0 records out btrfs_ordered_update_i_size() may return 1, but btrfs_endio_direct_write() mistakenly takes it as an error. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Diffstat (limited to 'net/ipv4/tcp_probe.c')
0 files changed, 0 insertions, 0 deletions