]> err.no Git - linux-2.6/commit
Fixes a regression from the recent "remove ->get_blocks() support"
authorNathan Scott <nathans@sgi.com>
Tue, 28 Mar 2006 23:26:15 +0000 (09:26 +1000)
committerNathan Scott <nathans@sgi.com>
Tue, 28 Mar 2006 23:26:15 +0000 (09:26 +1000)
commit3c674e74238cb2484169e3f84f687c66887086b6
tree07964918e0948a42bf787b37fc970c4b137fce53
parente0edd5962bd83d319aaa50b39580dc30299a7fe3
Fixes a regression from the recent "remove ->get_blocks() support"
change.  inode->i_blkbits should be used when making a get_block_t
request of a filesystem instead of dio->blkbits, as that does not
indicate the filesystem block size all the time (depends on request
alignment - see start of __blockdev_direct_IO).

Signed-off-by: Nathan Scott <nathans@sgi.com>
Acked-by: Badari Pulavarty <pbadari@us.ibm.com>
fs/direct-io.c