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

Chuck Lever <[email protected]>
Newsgroups gmane.linux.nfs,gmane.linux.kernel
Message-ID <178037202577.29007.13514470184077854481.b4-ty@b4>
From: Chuck Lever <[email protected]>

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 <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.