]> Git Repo - linux.git/commit
Fixes a regression from the recent "remove ->get_blocks() support"
authorNathan Scott <[email protected]>
Tue, 28 Mar 2006 23:26:15 +0000 (09:26 +1000)
committerNathan Scott <[email protected]>
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 <[email protected]>
Acked-by: Badari Pulavarty <[email protected]>
fs/direct-io.c
This page took 0.050023 seconds and 4 git commands to generate.