Thread (31 messages) 31 messages, 4 authors, 2025-10-20

Re: [PATCH 10/13] nfsd: allow filecache to hold S_IFDIR files

From: NeilBrown <hidden>
Date: 2025-10-14 05:45:16
Also in: linux-cifs, linux-fsdevel, linux-nfs, linux-unionfs, linux-xfs, lkml, netfs

On Tue, 14 Oct 2025, Jeff Layton wrote:
The filecache infrastructure will only handle S_ISREG files at the
moment. Plumb a "type" variable into nfsd_file_do_acquire and have all
of the existing callers set it to S_ISREG. Add a new
S_IFREG  (s/IS/IF/)  :-)

Otherwise looks good.

nfsd_file_acquire_dir() wrapper that we can then call to request a
nfsd_file that holds a directory open.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
NeilBrown
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help