diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-11-23 18:27:01 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-04 04:52:37 +0100 |
commit | aafd08dad019ecc858b31fb89064f4de623c64f7 (patch) | |
tree | bdd4cf62b1516336bf13f2d099df1beaabbe8cb4 | |
parent | vfs: more mnt_parent cleanups (diff) | |
download | linux-aafd08dad019ecc858b31fb89064f4de623c64f7.tar.xz linux-aafd08dad019ecc858b31fb89064f4de623c64f7.zip |
vfs: add missing parens in pnode.h macros
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | fs/pnode.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/pnode.h b/fs/pnode.h index 723399e76134..5c234e742193 100644 --- a/fs/pnode.h +++ b/fs/pnode.h @@ -11,11 +11,11 @@ #include <linux/list.h> #include "mount.h" -#define IS_MNT_SHARED(mnt) (mnt->mnt_flags & MNT_SHARED) -#define IS_MNT_SLAVE(mnt) (mnt->mnt_master) -#define IS_MNT_NEW(mnt) (!mnt->mnt_ns) -#define CLEAR_MNT_SHARED(mnt) (mnt->mnt_flags &= ~MNT_SHARED) -#define IS_MNT_UNBINDABLE(mnt) (mnt->mnt_flags & MNT_UNBINDABLE) +#define IS_MNT_SHARED(mnt) ((mnt)->mnt_flags & MNT_SHARED) +#define IS_MNT_SLAVE(mnt) ((mnt)->mnt_master) +#define IS_MNT_NEW(mnt) (!(mnt)->mnt_ns) +#define CLEAR_MNT_SHARED(mnt) ((mnt)->mnt_flags &= ~MNT_SHARED) +#define IS_MNT_UNBINDABLE(mnt) ((mnt)->mnt_flags & MNT_UNBINDABLE) #define CL_EXPIRE 0x01 #define CL_SLAVE 0x02 |