Skip to content

Commit 4d227fc

Browse files
author
Christoph Hellwig
committed
nfsd: make find_any_file available outside nfs4state.c
Signed-off-by: Christoph Hellwig <hch@lst.de>
1 parent e6ba76e commit 4d227fc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

fs/nfsd/nfs4state.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ find_readable_file(struct nfs4_file *f)
342342
return ret;
343343
}
344344

345-
static struct file *
345+
struct file *
346346
find_any_file(struct nfs4_file *f)
347347
{
348348
struct file *ret;

fs/nfsd/state.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,7 @@ static inline void get_nfs4_file(struct nfs4_file *fi)
579579
{
580580
atomic_inc(&fi->fi_ref);
581581
}
582+
struct file *find_any_file(struct nfs4_file *f);
582583

583584
/* grace period management */
584585
void nfsd4_end_grace(struct nfsd_net *nn);

0 commit comments

Comments
 (0)