aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2misc.c
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilov@microsoft.com>2019-01-16 11:48:42 -0800
committerSteve French <stfrench@microsoft.com>2019-01-24 14:52:06 -0600
commit6a9cbdd1ceca1dc2359ddf082efe61b97c3e752b (patch)
tree50e009bad1b6d8cce27aa1ee1fc8088a67951be1 /fs/cifs/smb2misc.c
parentCIFS: Do not assume one credit for async responses (diff)
downloadlinux-dev-6a9cbdd1ceca1dc2359ddf082efe61b97c3e752b.tar.xz
linux-dev-6a9cbdd1ceca1dc2359ddf082efe61b97c3e752b.zip
CIFS: Fix mounts if the client is low on credits
If the server doesn't grant us at least 3 credits during the mount we won't be able to complete it because query path info operation requires 3 credits. Use the cached file handle if possible to allow the mount to succeed. Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com> Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions