enable fallocate punch hole ("fallocate -p") for SMB3
[cascardo/linux.git] / fs / cifs / cifsglob.h
index ce24c1f..dfc731b 100644 (file)
@@ -411,6 +411,8 @@ struct smb_version_operations {
                                unsigned int *, unsigned int *);
        /* check if we need to issue closedir */
        bool (*dir_needs_close)(struct cifsFileInfo *);
+       long (*fallocate)(struct file *, struct cifs_tcon *, int, loff_t,
+                         loff_t);
 };
 
 struct smb_version_values {