]> git.neil.brown.name Git - LaFS.git/commit
Make sure the inode's bdi matches the superblock.
authorNeilBrown <neilb@suse.de>
Fri, 4 Mar 2011 23:44:23 +0000 (10:44 +1100)
committerNeilBrown <neilb@suse.de>
Fri, 4 Mar 2011 23:44:23 +0000 (10:44 +1100)
commitfbac75a1d6f33cd2b6070934089921e3b1ca038e
tree55a7a4c61503e9eaf3f8209d7b8da6d9095195e8
parent08038203fa3014243d9287af6140ad13f2bd5599
Make sure the inode's bdi matches the superblock.

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>
inode.c