CIFS: Fix SMB2 readdir error handling
[platform/adaptation/renesas_rcar/renesas_kernel.git] / fs / cifs / cifsglob.h
index f15d435..5d12d69 100644 (file)
@@ -399,6 +399,8 @@ struct smb_version_operations {
                        const struct cifs_fid *, u32 *);
        int (*set_acl)(struct cifs_ntsd *, __u32, struct inode *, const char *,
                        int);
+       /* check if we need to issue closedir */
+       bool (*dir_needs_close)(struct cifsFileInfo *);
 };
 
 struct smb_version_values {