]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: Fix support for remount when not changing rsize/wsize
authorSteve French <stfrench@microsoft.com>
Thu, 17 Dec 2020 00:04:27 +0000 (18:04 -0600)
committerSteve French <stfrench@microsoft.com>
Thu, 17 Dec 2020 03:53:14 +0000 (21:53 -0600)
commita4fdf40509c0f52a41699bc67c85ae8d96f887ba
tree3de5ea8dc97a9edf6a99b846cae81018e4871bb8
parent329348b348ff2f28a1599e61e9cc535cc98fddfe
cifs: Fix support for remount when not changing rsize/wsize

When remounting with the new mount API, we need to set
rsize and wsize to the previous values if they are not passed
in on the remount. Otherwise they get set to zero which breaks
xfstest 452 for example.

Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
fs/cifs/fs_context.c