Merge tag 'f2fs-for-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeu...
[linux-2.6-microblaze.git] / include / linux / exportfs.h
index 3ceb72b..9f4d4bc 100644 (file)
@@ -213,12 +213,25 @@ struct export_operations {
                          bool write, u32 *device_generation);
        int (*commit_blocks)(struct inode *inode, struct iomap *iomaps,
                             int nr_iomaps, struct iattr *iattr);
+#define        EXPORT_OP_NOWCC                 (0x1) /* don't collect v3 wcc data */
+#define        EXPORT_OP_NOSUBTREECHK          (0x2) /* no subtree checking */
+#define        EXPORT_OP_CLOSE_BEFORE_UNLINK   (0x4) /* close files before unlink */
+#define EXPORT_OP_REMOTE_FS            (0x8) /* Filesystem is remote */
+#define EXPORT_OP_NOATOMIC_ATTR                (0x10) /* Filesystem cannot supply
+                                                 atomic attribute updates
+                                               */
+       unsigned long   flags;
 };
 
 extern int exportfs_encode_inode_fh(struct inode *inode, struct fid *fid,
                                    int *max_len, struct inode *parent);
 extern int exportfs_encode_fh(struct dentry *dentry, struct fid *fid,
        int *max_len, int connectable);
+extern struct dentry *exportfs_decode_fh_raw(struct vfsmount *mnt,
+                                            struct fid *fid, int fh_len,
+                                            int fileid_type,
+                                            int (*acceptable)(void *, struct dentry *),
+                                            void *context);
 extern struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid,
        int fh_len, int fileid_type, int (*acceptable)(void *, struct dentry *),
        void *context);