Message ID | 20200224131510.20608-4-metze@samba.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Avoid reconnects of failed session setups on soft mounts | expand |
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
First three patches in this series merged into cifs-2.6.git for-next (and the buildbot's github tree) pending more testing and review On Mon, Feb 24, 2020 at 12:12 PM Aurélien Aptel <aaptel@samba.org> wrote: > > Reviewed-by: Aurelien Aptel <aaptel@suse.com> > > -- > Aurélien Aptel / SUSE Labs Samba Team > GPG: 1839 CB5F 9F5B FB9B AA97 8C99 03C8 A49B 521B D5D3 > SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg, DE > GF: Felix Imendörffer, Mary Higgins, Sri Rasiah HRB 247165 (AG München)
The first tree patches look good. Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com> -- Best regards, Pavel Shilovsky пн, 24 февр. 2020 г. в 12:39, Steve French <smfrench@gmail.com>: > > First three patches in this series merged into cifs-2.6.git for-next > (and the buildbot's github tree) pending more testing and review > > On Mon, Feb 24, 2020 at 12:12 PM Aurélien Aptel <aaptel@samba.org> wrote: > > > > Reviewed-by: Aurelien Aptel <aaptel@suse.com> > > > > -- > > Aurélien Aptel / SUSE Labs Samba Team > > GPG: 1839 CB5F 9F5B FB9B AA97 8C99 03C8 A49B 521B D5D3 > > SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg, DE > > GF: Felix Imendörffer, Mary Higgins, Sri Rasiah HRB 247165 (AG München) > > > > -- > Thanks, > > Steve
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index 01206e12975a..d2b92770384b 100644 --- a/fs/cifs/cifssmb.c +++ b/fs/cifs/cifssmb.c @@ -320,7 +320,7 @@ cifs_reconnect_tcon(struct cifs_tcon *tcon, int smb_command) atomic_inc(&tconInfoReconnectCount); /* tell server Unix caps we support */ - if (ses->capabilities & CAP_UNIX) + if (cap_unix(ses)) reset_cifs_unix_caps(0, tcon, NULL, NULL); /*
cap_unix(ses) defaults to false for SMB2. Signed-off-by: Stefan Metzmacher <metze@samba.org> --- fs/cifs/cifssmb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)