fs: simplify the blockdev_direct_IO prototype
authorChristoph Hellwig <hch@infradead.org>
Fri, 24 Jun 2011 18:29:47 +0000 (14:29 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 21 Jul 2011 00:47:49 +0000 (20:47 -0400)
commitaacfc19c626ebd3daa675652457d71019a1f583f
tree9c1cfb5945e939f1ba56b4c0101c211e84e544c0
parentdf2d6f26586f12a24f3ae5df4e236dc5c08d6eb4
fs: simplify the blockdev_direct_IO prototype

Simple filesystems always pass inode->i_sb_bdev as the block device
argument, and never need a end_io handler.  Let's simply things for
them and for my grepping activity by dropping these arguments.  The
only thing not falling into that scheme is ext4, which passes and
end_io handler without needing special flags (yet), but given how
messy the direct I/O code there is use of __blockdev_direct_IO
in one instead of two out of three cases isn't going to make a large
difference anyway.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ext2/inode.c
fs/ext3/inode.c
fs/ext4/inode.c
fs/fat/inode.c
fs/hfs/inode.c
fs/hfsplus/inode.c
fs/jfs/inode.c
fs/nilfs2/inode.c
fs/reiserfs/inode.c
include/linux/fs.h