aboutsummaryrefslogtreecommitdiffstats
path: root/fs/namespace.c
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2010-05-02 16:12:56 -0400
committerThomas Gleixner <tglx@linutronix.de>2010-05-02 16:53:05 -0400
commitc54c0715ea8f4411b0bdafd56db70c58b71e6ae6 (patch)
tree2987d1a8f81ccf8c4f2f41c66d4482b7e92727a3 /fs/namespace.c
parent0f756ec64b15fe3c9fdc9671d29a48096b4753a2 (diff)
fs: Add missing parantheses
Fix for this compile warning: fs/namespace.c:757: warning: suggest parentheses around operand \ of '!' or change '&' to '&&' or '!' to '~' Signed-off-by: Olaf Hering <olaf@aepfle.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'fs/namespace.c')
-rw-r--r--fs/namespace.c2
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 }