Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information