vfs: new internal helper: mnt_has_parent(mnt)
[GitHub/exynos8895/android_kernel_samsung_universal8895.git] / fs / mount.h
CommitLineData
b2dba1af
AV
1#include <linux/mount.h>
2
3static inline int mnt_has_parent(struct vfsmount *mnt)
4{
5 return mnt != mnt->mnt_parent;
6}