From: Nathan Scott Date: Tue, 28 Mar 2006 23:26:15 +0000 (+1000) Subject: Fixes a regression from the recent "remove ->get_blocks() support" X-Git-Tag: v2.6.17-rc1~166^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c674e74238cb2484169e3f84f687c66887086b6;p=pandora-kernel.git 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 Acked-by: Badari Pulavarty --- Reading git-diff-tree failed