direct-io: merge direct_io_walker into __blockdev_direct_IO
authorAndi Kleen <ak@linux.intel.com>
Tue, 2 Aug 2011 04:38:09 +0000 (21:38 -0700)
committerroot <root@serles.lst.de>
Fri, 28 Oct 2011 12:58:58 +0000 (14:58 +0200)
commit847cc6371ba820763773e993000410d6d8d23515
treeffc36e702c82fc3d9c371a72e9b0663e5ec16f80
parentba253fbf6d3502c54e1ac8792e7ac8290a1f5b8d
direct-io: merge direct_io_walker into __blockdev_direct_IO

This doesn't change anything for the compiler, but hch thought it would
make the code clearer.

I moved the reference counting into its own little inline.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/direct-io.c