From c54c0715ea8f4411b0bdafd56db70c58b71e6ae6 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Sun, 2 May 2010 22:12:56 +0200 Subject: 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 Signed-off-by: Thomas Gleixner --- fs/namespace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs') 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) put_cpu(); if (likely(mnt->mnt_flags & MNT_MOUNTED)) { vfsmount_read_lock(cpu); - if (unlikely(!mnt->mnt_flags & MNT_MOUNTED)) { + if (unlikely(!(mnt->mnt_flags & MNT_MOUNTED))) { vfsmount_read_unlock(cpu); goto repeat; } -- cgit v1.2.3