summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilovsky@samba.org>2014-06-22 11:03:22 +0400
committerSteve French <smfrench@gmail.com>2014-08-02 01:23:02 -0500
commit7f6c50086a6f5bc0fee46548afc836070a439313 (patch)
treebe639b03971a6477c269a2c44860bbb0d3754400 /fs/cifs/cifsglob.h
parent66231a47965c551d3056d5104f8b06688065748c (diff)
downloadlinux-7f6c50086a6f5bc0fee46548afc836070a439313.tar.gz
linux-7f6c50086a6f5bc0fee46548afc836070a439313.tar.bz2
linux-7f6c50086a6f5bc0fee46548afc836070a439313.zip
CIFS: Fix cifs_writev_requeue when wsize changes
If wsize changes on reconnect we need to use new writedata structure that for retrying. Reviewed-by: Shirish Pargaonkar <spargaonkar@suse.com> Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r--fs/cifs/cifsglob.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index de6aed8c78e5..8c53f2093152 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -404,6 +404,8 @@ struct smb_version_operations {
const struct cifs_fid *, u32 *);
int (*set_acl)(struct cifs_ntsd *, __u32, struct inode *, const char *,
int);
+ /* writepages retry size */
+ unsigned int (*wp_retry_size)(struct inode *);
};
struct smb_version_values {