[RFC][PATCH 1/4] use helper to set mnt_sb

2008-01-10 Thread Dave Hansen
We need to make sure that all mounts get into the sb list. So, require that new setters of mnt->mnt_sb use simple_set_mnt() instead of doing it themselves. NFS does the same thing a few times in a row, so give it a nice little helper. --- linux-2.6.git-dave/fs/namespace.c |3 +--

[RFC][PATCH 1/4] use helper to set mnt_sb

2008-01-10 Thread Dave Hansen
We need to make sure that all mounts get into the sb list. So, require that new setters of mnt-mnt_sb use simple_set_mnt() instead of doing it themselves. NFS does the same thing a few times in a row, so give it a nice little helper. --- linux-2.6.git-dave/fs/namespace.c |3 +--