diff options
Diffstat (limited to 'fs/mount.h')
-rw-r--r-- | fs/mount.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/mount.h b/fs/mount.h new file mode 100644 index 0000000..7890e49 --- /dev/null +++ b/fs/mount.h @@ -0,0 +1,6 @@ +#include <linux/mount.h> + +static inline int mnt_has_parent(struct vfsmount *mnt) +{ + return mnt != mnt->mnt_parent; +} |