summaryrefslogtreecommitdiffstats
path: root/fs/pnode.h
diff options
context:
space:
mode:
authorAl Viro2011-11-25 07:05:37 +0100
committerAl Viro2012-01-04 04:57:11 +0100
commitfc7be130c7e91cf693d4bc2d9b11f08a5a4893d0 (patch)
tree8df38871ffccd0e977702d61691967c184fabecc /fs/pnode.h
parentvfs: move the rest of int fields to struct mount (diff)
downloadkernel-qcow2-linux-fc7be130c7e91cf693d4bc2d9b11f08a5a4893d0.tar.gz
kernel-qcow2-linux-fc7be130c7e91cf693d4bc2d9b11f08a5a4893d0.tar.xz
kernel-qcow2-linux-fc7be130c7e91cf693d4bc2d9b11f08a5a4893d0.zip
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.h10
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 @@
#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(m) ((m)->mnt.mnt_flags & MNT_SHARED)
+#define IS_MNT_SLAVE(m) ((m)->mnt_master)
+#define IS_MNT_NEW(m) (!(m)->mnt_ns)
+#define CLEAR_MNT_SHARED(m) ((m)->mnt.mnt_flags &= ~MNT_SHARED)
+#define IS_MNT_UNBINDABLE(m) ((m)->mnt.mnt_flags & MNT_UNBINDABLE)
#define CL_EXPIRE 0x01
#define CL_SLAVE 0x02