Re: [PATCH 0/2] nfsd: don't use the xdr buf for temporary storage in CB_NOTIFY
Chuck Lever <[email protected]>
| Newsgroups | org.kernel.vger.linux-nfs,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <178656102757.3199185.15214037321613191070.b4-ty@b4> |
On Wed, 12 Aug 2026 14:08:13 -0400, Jeff Layton wrote:
> I posted a patch to fix up a sparse warning with a cast a few days ago
> [1], but Chuck objected and wanted to fix this by moving these
> (host-endian) allocations out of the xdr stream entirely.
>
> This patchset should do that. Some of them are able to be moved to
> temporary stack allocations, but the mask fields need a separate
> kmalloc'ed field tracked in struct nfsd4_cb_notify.
>
> [...]
Applied to nfsd-testing, thanks!
[1/2] nfsd: pass caller-provided attrmask storage into nfsd4_setup_notify_entry4()
commit: fced96df83e491cc182e9ec3ac6cf9234e705410
[2/2] nfsd: back CB_NOTIFY notify_mask words with per-delegation storage
commit: de7051270554f99559f9b6bcf3c4fb695c7c223d
--
Chuck Lever