diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-11-25 01:05:37 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:57:11 -0500 |
commit | fc7be130c7e91cf693d4bc2d9b11f08a5a4893d0 (patch) | |
tree | 8df38871ffccd0e977702d61691967c184fabecc /fs/pnode.h | |
parent | 863d684f946eb240c7dd57d265d88315950ca5cc (diff) |
vfs: switch pnode.h macros to struct mount *
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/pnode.h')
-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 54deeda0cdb8..65c60979d541 100644 --- a/fs/pnode.h +++ b/fs/pnode.h | |||
@@ -11,11 +11,11 @@ | |||
11 | #include <linux/list.h> | 11 | #include <linux/list.h> |
12 | #include "mount.h" | 12 | #include "mount.h" |
13 | 13 | ||
14 | #define IS_MNT_SHARED(mnt) ((mnt)->mnt_flags & MNT_SHARED) | 14 | #define IS_MNT_SHARED(m) ((m)->mnt.mnt_flags & MNT_SHARED) |
15 | #define IS_MNT_SLAVE(mnt) ((mnt)->mnt_master) | 15 | #define IS_MNT_SLAVE(m) ((m)->mnt_master) |
16 | #define IS_MNT_NEW(mnt) (!(mnt)->mnt_ns) | 16 | #define IS_MNT_NEW(m) (!(m)->mnt_ns) |
17 | #define CLEAR_MNT_SHARED(mnt) ((mnt)->mnt_flags &= ~MNT_SHARED) | 17 | #define CLEAR_MNT_SHARED(m) ((m)->mnt.mnt_flags &= ~MNT_SHARED) |
18 | #define IS_MNT_UNBINDABLE(mnt) ((mnt)->mnt_flags & MNT_UNBINDABLE) | 18 | #define IS_MNT_UNBINDABLE(m) ((m)->mnt.mnt_flags & MNT_UNBINDABLE) |
19 | 19 | ||
20 | #define CL_EXPIRE 0x01 | 20 | #define CL_EXPIRE 0x01 |
21 | #define CL_SLAVE 0x02 | 21 | #define CL_SLAVE 0x02 |