commit | 3c674e74238cb2484169e3f84f687c66887086b6 | [log] [tgz] |
---|---|---|
author | Nathan Scott <nathans@sgi.com> | Wed Mar 29 09:26:15 2006 +1000 |
committer | Nathan Scott <nathans@sgi.com> | Wed Mar 29 09:26:15 2006 +1000 |
tree | 07964918e0948a42bf787b37fc970c4b137fce53 | |
parent | e0edd5962bd83d319aaa50b39580dc30299a7fe3 [diff] |
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>