[fuse-devel][PATCH v2 03/4] Enable fsnotify: add opcode and fsnotify struct fuse.h.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux