Commit fdec611
J. Bruce Fields
nfsd4: zero-length WRITE should succeed
Zero-length writes are legal; from 5661 section 18.32.3: "If the count
is zero, the WRITE will succeed and return a count of zero subject to
permissions checking".
This check is unnecessary and is causing zero-length reads to return
EINVAL.
Cc: [email protected]
Fixes: 3fd9557 "NFSD: Refactor the generic write vector fill helper"
Cc: Chuck Lever <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>1 parent 2e6e902 commit fdec611
1 file changed
+0
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1016 | 1016 | | |
1017 | 1017 | | |
1018 | 1018 | | |
1019 | | - | |
1020 | | - | |
1021 | 1019 | | |
1022 | 1020 | | |
1023 | 1021 | | |
| |||
0 commit comments