Re: linux-next: build failure after merge of the driver-core tree

From: Al Viro
Date: Tue May 18 2010 - 11:02:28 EST


On Tue, May 18, 2010 at 03:35:10AM -0700, Eric W. Biederman wrote:
> Thanks.
>
> I will cook up a proper incremental patch after I get some sleep. Stephen
> it appears those two lines you have commented out are actually unnecessary.
>
> We have
> deactivate_super
> kill_sb aka sysfs_kill_sb
> kill_anon_super
> generic_shutdown_super
> sb_lock
> list_del(sb->s_instances)
> sb_unlock
> kfree(info)
>
> Nothing generic stomps on s_fs_info.
>
> Which means that if I find a superblock on sb->s_instances sb->s_fs_info
> still points to a valid sysfs_super_info.

Except that sb_lock is going away next cycle. There are very few users left
outside of fs/super.c and I'd much prefer it to become static.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/