@@ -133,7 +133,7 @@
*
* 7.31
* - add FUSE_WRITE_KILL_PRIV flag
- * - add FUSE_SETUPMAPPING
+ * - add FUSE_SETUPMAPPING and FUSE_REMOVEMAPPING
*/
#ifndef _LINUX_FUSE_H
@@ -424,6 +424,7 @@ enum fuse_opcode {
FUSE_LSEEK = 46,
FUSE_COPY_FILE_RANGE = 47,
FUSE_SETUPMAPPING = 48,
+ FUSE_REMOVEMAPPING = 49,
/* CUSE specific operations */
CUSE_INIT = 4096,
@@ -862,4 +863,16 @@ struct fuse_setupmapping_in {
uint64_t moffset;
};
+struct fuse_removemapping_in {
+ /* number of fuse_removemapping_one following */
+ uint32_t count;
+};
+
+struct fuse_removemapping_one {
+ /* Offset into the dax window at start of unmapping */
+ uint64_t moffset;
+ /* Length of unmapping required */
+ uint64_t len;
+};
+
#endif /* _LINUX_FUSE_H */