On Tue, Feb 02, 2016 at 10:59:41AM -0800, Dan Williams wrote:
True, but in this case we're just trying to resolve the bdev for
inode / sector combination to already allocated storage. So
get_block() is a misnomer, this is just get_bdev() to resolve a
super_block-inode+sector tuple to a bdev for cases when s_bdev is the
Then let's call it that. i_ops->get_bdev(struct inode *inode, pgoff_t index)
And if it doesn't exist, use i_sb->s_bdev.