diff options
author | Nathan Scott <nathans@sgi.com> | 2006-03-29 09:26:15 +1000 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2006-03-29 09:26:15 +1000 |
commit | 3c674e74238cb2484169e3f84f687c66887086b6 (patch) | |
tree | 07964918e0948a42bf787b37fc970c4b137fce53 /fs/xfs/xfs_btree.h | |
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>
Diffstat (limited to 'fs/xfs/xfs_btree.h')
0 files changed, 0 insertions, 0 deletions