diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namei.c b/fs/namei.c index c14dfac83c2b..d4d15bbc8af7 100644 --- a/fs/namei.c +++ b/fs/namei.c | |||
@@ -722,7 +722,7 @@ int follow_up(struct path *path) | |||
722 | 722 | ||
723 | br_read_lock(&vfsmount_lock); | 723 | br_read_lock(&vfsmount_lock); |
724 | parent = mnt->mnt_parent; | 724 | parent = mnt->mnt_parent; |
725 | if (&parent->mnt == path->mnt) { | 725 | if (parent == mnt) { |
726 | br_read_unlock(&vfsmount_lock); | 726 | br_read_unlock(&vfsmount_lock); |
727 | return 0; | 727 | return 0; |
728 | } | 728 | } |