diff options
-rw-r--r-- | fs/namespace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index 64db957bb992..35c56c2af61b 100644 --- a/fs/namespace.c +++ b/fs/namespace.c | |||
@@ -754,7 +754,7 @@ void mntput_no_expire(struct vfsmount *mnt) | |||
754 | put_cpu(); | 754 | put_cpu(); |
755 | if (likely(mnt->mnt_flags & MNT_MOUNTED)) { | 755 | if (likely(mnt->mnt_flags & MNT_MOUNTED)) { |
756 | vfsmount_read_lock(cpu); | 756 | vfsmount_read_lock(cpu); |
757 | if (unlikely(!mnt->mnt_flags & MNT_MOUNTED)) { | 757 | if (unlikely(!(mnt->mnt_flags & MNT_MOUNTED))) { |
758 | vfsmount_read_unlock(cpu); | 758 | vfsmount_read_unlock(cpu); |
759 | goto repeat; | 759 | goto repeat; |
760 | } | 760 | } |