Merge tag 'fuse-update-5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi...
[linux-2.6-block.git] / fs / mount.h
index f39bc9da4d73c8e38bdbb85c8385fc8820f76dc8..6250de544760e1ed28bd1e91df35f45ad29d9e8c 100644 (file)
@@ -146,3 +146,8 @@ static inline bool is_local_mountpoint(struct dentry *dentry)
 
        return __is_local_mountpoint(dentry);
 }
+
+static inline bool is_anon_ns(struct mnt_namespace *ns)
+{
+       return ns->seq == 0;
+}