diff options
| author | Nagendra S Tomar <natomar@microsoft.com> | 2021-03-16 10:25:14 +0000 |
|---|---|---|
| committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-04-05 09:04:20 -0400 |
| commit | ee3707ae2c1f1327ad5188836b7ab62ed2c93b28 (patch) | |
| tree | be81083b660274d9f64504bbbcec0d24526ade12 /lib/mpi/mpi-sub-ui.c | |
| parent | 6453bcd0d8bd67fce9e0f566250caf864b5032f6 (diff) | |
nfs: Subsequent READDIR calls should carry non-zero cookieverifier
If the loop in nfs_readdir_xdr_to_array() runs more than once, subsequent
READDIR RPCs may wrongly carry a zero cookie verifier and non-zero cookie.
Make sure subsequent calls to READDIR carry the cookie verifier returned
by the first call.
Signed-off-by: Nagendra S Tomar <natomar@microsoft.com>
Fixes: b593c09f83a2 ("NFS: Improve handling of directory verifiers")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
