diff options
author | Olga Kornievskaia <olga.kornievskaia@gmail.com> | 2020-05-14 23:09:40 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2020-05-15 01:42:44 +0300 |
commit | 8eed292bc8cbf737e46fb1c119d4c8f6dcb00650 (patch) | |
tree | 28fedc170d82a118f0fb9c24c3619b747f5b55e7 /fs/cachefiles/rdwr.c | |
parent | 933496e9cc02cda16ca8f0c38e56204376d6b0b2 (diff) | |
download | linux-8eed292bc8cbf737e46fb1c119d4c8f6dcb00650.tar.xz |
NFSv3: fix rpc receive buffer size for MOUNT call
Prior to commit e3d3ab64dd66 ("SUNRPC: Use au_rslack when
computing reply buffer size"), there was enough slack in the reply
buffer to commodate filehandles of size 60bytes. However, the real
problem was that the reply buffer size for the MOUNT operation was
not correctly calculated. Received buffer size used the filehandle
size for NFSv2 (32bytes) which is much smaller than the allowed
filehandle size for the v3 mounts.
Fix the reply buffer size (decode arguments size) for the MNT command.
Fixes: 2c94b8eca1a2 ("SUNRPC: Use au_rslack when computing reply buffer size")
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/cachefiles/rdwr.c')
0 files changed, 0 insertions, 0 deletions