From: Christoph Hellwig Date: Fri, 24 Jun 2011 18:29:42 +0000 (-0400) Subject: fs: simplify handling of zero sized reads in __blockdev_direct_IO X-Git-Tag: v3.1-rc1~282^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9b5570d7fdedff32a2e78102bfb54cd1b12b289;p=pandora-kernel.git 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 Signed-off-by: Al Viro --- Reading git-diff-tree failed