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

NeilBrown <[email protected]>
Newsgroups org.kernel.vger.ecryptfs,dev.linux.lists.netfs,org.kernel.vger.linux-cifs,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-nfs,org.kernel.vger.linux-unionfs,org.kernel.vger.linux-xfs,org.kernel.vger.netdev
Message-ID <[email protected]>
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 <[email protected]>

NeilBrown
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.