/* unionfs root inode number */
#define UNIONFS_ROOT_INO 1
-/* Mount time flags */
-#define MOUNT_FLAG(sb) (UNIONFS_SB(sb)->mount_flag)
-
/* number of characters while generating unique temporary file names */
#define UNIONFS_TMPNAM_LEN 12
/* These are the pointers to our various objects. */
struct unionfs_data {
struct super_block *sb;
- struct vfsmount *hidden_mnt;
atomic_t sbcount;
int branchperms;
};
int bend;
atomic_t generation;
- unsigned long mount_flag;
struct rw_semaphore rwsem;
struct unionfs_data *data;
struct dentry *unionfs_lookup_backend(struct dentry *dentry, struct nameidata *nd, int lookupmode);
-#define IS_SET(sb, check_flag) ((check_flag) & MOUNT_FLAG(sb))
-
/* unionfs_permission, check if we should bypass error to facilitate copyup */
#define IS_COPYUP_ERR(err) ((err) == -EROFS)
#define UNIONFS_DIR_OPAQUE_NAME "__dir_opaque"
#define UNIONFS_DIR_OPAQUE UNIONFS_WHPFX UNIONFS_DIR_OPAQUE_NAME
-#define VALID_MOUNT_FLAGS (0)
-
#ifndef DEFAULT_POLLMASK
#define DEFAULT_POLLMASK (POLLIN | POLLOUT | POLLRDNORM | POLLWRNORM)
#endif