inode_init_always defaults i_data.backing_dev_info to
the bdi for sb->s_bdev if that exists, otherwise
default_backing_dev_info.
Why it doesn't just use sb->s_bdi is not clear.
But in any case it doesn't so we must.
Signed-off-by: NeilBrown <neilb@suse.de>
return ERR_PTR(-ENOENT);
}
+ /* surprisingly the inode bdi does not default to the
+ * super_blocks bdi...
+ */
+ ino->i_data.backing_dev_info = sb->s_bdi;
/* Need to load block 'inum' from an inode file...
*/
if (!b) {