|
@@ -74,7 +74,7 @@ static inline int mnt_has_parent(struct mount *mnt)
|
|
static inline int is_mounted(struct vfsmount *mnt)
|
|
static inline int is_mounted(struct vfsmount *mnt)
|
|
{
|
|
{
|
|
/* neither detached nor internal? */
|
|
/* 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 *);
|
|
extern struct mount *__lookup_mnt(struct vfsmount *, struct dentry *);
|