mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
vfs: switch pnode.h macros to struct mount *
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
10
fs/pnode.h
10
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
|
||||
|
Reference in New Issue
Block a user