From: Christoph Hellwig Date: Fri, 4 Jun 2010 09:29:53 +0000 (+0200) Subject: sort out blockdev_direct_IO variants X-Git-Tag: v2.6.36-rc1~304^2~91 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eafdc7d190a944c755a9fe68573c193e6e0217e7;p=pandora-kernel.git sort out blockdev_direct_IO variants Move the call to vmtruncate to get rid of accessive blocks to the callers in prepearation of the new truncate calling sequence. This was only done for DIO_LOCKING filesystems, so the __blockdev_direct_IO_newtrunc variant was not needed anyway. Get rid of blockdev_direct_IO_no_locking and its _newtrunc variant while at it as just opencoding the two additional paramters is shorted than the name suffix. Signed-off-by: Christoph Hellwig Signed-off-by: Al Viro --- Reading git-diff-tree failed