Re: [PATCH v3] nfsd: release OPEN-decoded posix ACLs via op_release

From: Chuck Lever

Date: Mon Jun 01 2026 - 23:48:11 EST


From: Chuck Lever <chuck.lever@xxxxxxxxxx>

On Mon, 01 Jun 2026 11:32:56 -0400, Jeff Layton wrote:
> nfsd4_decode_createhow4() calls nfsd4_decode_fattr4(), which allocates
> refcounted struct posix_acl objects via posix_acl_alloc() and stores
> them in open->op_pacl and open->op_dpacl. These pointers must be
> released once the OPEN compound finishes.
>
> When nfsd4_decode_open_claim4() returns a non-seqid-mutating error,
> the dispatcher short-circuits before op_func runs:
>
> [...]

Applied to nfsd-testing, thanks!

[1/1] nfsd: release OPEN-decoded posix ACLs via op_release
commit: 844f63869b2038377b82cdb90f8872acbdc8fde3

--
Chuck Lever <chuck.lever@xxxxxxxxxx>