On Thu, Apr 14, 2016 at 04:48:32PM -0700, Andrey Ulanov wrote: > +++ b/fs/namespace.c > @@ -1562,6 +1562,7 @@ void __detach_mounts(struct dentry *dentry) > goto out_unlock; > > lock_mount_hash(); > + event++; That part makes sense. > -/* > +/* > * Is the caller allowed to modify his namespace? > */ > static inline bool may_mount(void) > @@ -1765,6 +1766,7 @@ void drop_collected_mounts(struct vfsmount *mnt) > { > namespace_lock(); > lock_mount_hash(); > + event++; ... but what the hell is this one for? -- 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