diff options
author | Olaf Hering <olaf@aepfle.de> | 2010-05-02 22:12:56 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-05-02 22:53:05 +0200 |
commit | c54c0715ea8f4411b0bdafd56db70c58b71e6ae6 (patch) | |
tree | 2987d1a8f81ccf8c4f2f41c66d4482b7e92727a3 /fs | |
parent | 0f756ec64b15fe3c9fdc9671d29a48096b4753a2 (diff) | |
download | lwn-c54c0715ea8f4411b0bdafd56db70c58b71e6ae6.tar.gz lwn-c54c0715ea8f4411b0bdafd56db70c58b71e6ae6.zip |
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')
-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) 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; } |