On Fri, Jan 15, 2010 at 05:08:28PM +0000, David Howells wrote: > Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote: > > > Do you want it to inerit e.g. nosuid? > > Are you just talking about MNT_SHRINKABLE? Or all the other flags? > > Should I be passing: > > nd->path.mnt->mnt_flags | MNT_SHRINKABLE > > instead? Maybe, maybe not... BTW, even that leaves an unpleasant race with mnt_make_readonly() (CIFS and NFS seem to be suffering from one). Which flags do we want to be inherited? Grabbing MNT_WRITE_HOLD, for example, would obviously be a bad idea... -- 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