Add the FUSE_FSNOTIFY opcode and fsnotify struct to the fuse include file. Signed-off-by: Stef Bon <stefbon@xxxxxxxxx> diff --git a/include/uapi/linux/fuse.h.orig b/include/uapi/linux/fuse.h index 60bb2f9..c370ac4 100644 --- a/include/uapi/linux/fuse.h.orig +++ b/include/uapi/linux/fuse.h @@ -343,6 +343,8 @@ enum fuse_opcode { FUSE_BATCH_FORGET = 42, FUSE_FALLOCATE = 43, FUSE_READDIRPLUS = 44, + FUSE_FSNOTIFY = 45, + /* CUSE specific operations */ CUSE_INIT = 4096, @@ -685,6 +687,10 @@ struct fuse_direntplus { #define FUSE_DIRENTPLUS_SIZE(d) \ FUSE_DIRENT_ALIGN(FUSE_NAME_OFFSET_DIRENTPLUS + (d)->dirent.namelen) +struct fuse_fsnotify_in { + uint64_t mask; +}; + struct fuse_notify_inval_inode_out { uint64_t ino; int64_t off; -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html