X-Git-Url: https://git.stricted.de/?a=blobdiff_plain;f=fs%2Fmount.h;h=68d80bdcd0819cf071029d99a0eefd6e02747942;hb=HEAD;hp=64a858143ff923ab80499d5a865bde9de2257314;hpb=bb762929dbfb378ef8c5c3f400bc98a6a0614584;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git diff --git a/fs/mount.h b/fs/mount.h index 64a858143ff9..68d80bdcd081 100644 --- a/fs/mount.h +++ b/fs/mount.h @@ -73,7 +73,7 @@ static inline int mnt_has_parent(struct mount *mnt) static inline int is_mounted(struct vfsmount *mnt) { /* neither detached nor internal? */ - return !IS_ERR_OR_NULL(real_mount(mnt)); + return !IS_ERR_OR_NULL(real_mount(mnt)->mnt_ns); } extern struct mount *__lookup_mnt(struct vfsmount *, struct dentry *, int);