diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2014-06-22 11:03:22 +0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2014-08-02 10:23:02 +0400 |
commit | 7f6c50086a6f5bc0fee46548afc836070a439313 (patch) | |
tree | be639b03971a6477c269a2c44860bbb0d3754400 /fs/cifs/cifsglob.h | |
parent | 66231a47965c551d3056d5104f8b06688065748c (diff) | |
download | linux-7f6c50086a6f5bc0fee46548afc836070a439313.tar.xz |
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.h | 2 |
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 { |