cifs: add SMB3 change notification support
[linux-2.6-microblaze.git] / fs / cifs / cifsglob.h
index 239338d..de82cfa 100644 (file)
@@ -298,7 +298,8 @@ struct smb_version_operations {
                             const char *, struct dfs_info3_param **,
                             unsigned int *, const struct nls_table *, int);
        /* informational QFS call */
-       void (*qfs_tcon)(const unsigned int, struct cifs_tcon *);
+       void (*qfs_tcon)(const unsigned int, struct cifs_tcon *,
+                        struct cifs_sb_info *);
        /* check if a path is accessible or not */
        int (*is_path_accessible)(const unsigned int, struct cifs_tcon *,
                                  struct cifs_sb_info *, const char *);
@@ -409,7 +410,7 @@ struct smb_version_operations {
                               struct cifsInodeInfo *);
        /* query remote filesystem */
        int (*queryfs)(const unsigned int, struct cifs_tcon *,
-                      struct kstatfs *);
+                      struct cifs_sb_info *, struct kstatfs *);
        /* send mandatory brlock to the server */
        int (*mand_lock)(const unsigned int, struct cifsFileInfo *, __u64,
                         __u64, __u32, int, int, bool);
@@ -430,6 +431,8 @@ struct smb_version_operations {
                             struct cifsFileInfo *src_file);
        int (*enum_snapshots)(const unsigned int xid, struct cifs_tcon *tcon,
                             struct cifsFileInfo *src_file, void __user *);
+       int (*notify)(const unsigned int xid, struct file *pfile,
+                            void __user *pbuf);
        int (*query_mf_symlink)(unsigned int, struct cifs_tcon *,
                                struct cifs_sb_info *, const unsigned char *,
                                char *, unsigned int *);
@@ -490,6 +493,7 @@ struct smb_version_operations {
        /* ioctl passthrough for query_info */
        int (*ioctl_query_info)(const unsigned int xid,
                                struct cifs_tcon *tcon,
+                               struct cifs_sb_info *cifs_sb,
                                __le16 *path, int is_dir,
                                unsigned long p);
        /* make unix special files (block, char, fifo, socket) */