diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2023-07-19 18:33:09 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2023-08-30 00:45:22 +0300 |
commit | 50bce06f0e7993aeaa03d39a8f8979b31e5862bd (patch) | |
tree | 0da8fcea9ed2552fc7016e2407f73a2c981e97aa /net/sunrpc/.kunitconfig | |
parent | fd19ca36fd782b84f71b86525b91a905cda913a4 (diff) | |
download | linux-50bce06f0e7993aeaa03d39a8f8979b31e5862bd.tar.xz |
NFSD: Report zero space limit for write delegations
Replace the -1 (no limit) with a zero (no reserved space).
This prevents certain non-determinant client behavior, such as
silly-renaming a file when the only open reference is a write
delegation. Such a rename can leave unexpected .nfs files in a
directory that is otherwise supposed to be empty.
Note that other server implementations that support write delegation
also set this field to zero.
Suggested-by: Dai Ngo <dai.ngo@oracle.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/sunrpc/.kunitconfig')
0 files changed, 0 insertions, 0 deletions