Skip to content

Commit

Permalink
Include empty post_op_attrs in access errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jvns committed Nov 28, 2023
1 parent a91b8b3 commit eeb1896
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nfs_onaccess.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
)

func onAccess(ctx context.Context, w *response, userHandle Handler) error {
w.errorFmt = opAttrErrorFormatter
roothandle, err := xdr.ReadOpaque(w.req.Body)
if err != nil {
return &NFSStatusError{NFSStatusInval, err}
Expand Down

0 comments on commit eeb1896

Please sign in to comment.