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 a > 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 > wrong answer. 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. -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html