summaryrefslogtreecommitdiffstats
path: root/mm/truncate.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2011-06-24 20:29:42 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2011-07-21 02:47:45 +0200
commitf9b5570d7fdedff32a2e78102bfb54cd1b12b289 (patch)
tree0bbe650c809d96b25d746c400e316c3ad71b4097 /mm/truncate.c
parentext4: Rewrite ext4_page_mkwrite() to use generic helpers (diff)
downloadlinux-f9b5570d7fdedff32a2e78102bfb54cd1b12b289.tar.xz
linux-f9b5570d7fdedff32a2e78102bfb54cd1b12b289.zip
fs: simplify handling of zero sized reads in __blockdev_direct_IO
Reject zero sized reads as soon as we know our I/O length, and don't borther with locks or allocations that might have to be cleaned up otherwise. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'mm/truncate.c')
0 files changed, 0 insertions, 0 deletions