Skip to content

Commit

Permalink
nfsd: make find_any_file available outside nfs4state.c
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Hellwig <hch@lst.de>
  • Loading branch information
Christoph Hellwig committed Feb 2, 2015
1 parent e6ba76e commit 4d227fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion fs/nfsd/nfs4state.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ find_readable_file(struct nfs4_file *f)
return ret;
}

static struct file *
struct file *
find_any_file(struct nfs4_file *f)
{
struct file *ret;
Expand Down
1 change: 1 addition & 0 deletions fs/nfsd/state.h
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,7 @@ static inline void get_nfs4_file(struct nfs4_file *fi)
{
atomic_inc(&fi->fi_ref);
}
struct file *find_any_file(struct nfs4_file *f);

/* grace period management */
void nfsd4_end_grace(struct nfsd_net *nn);
Expand Down

0 comments on commit 4d227fc

Please sign in to comment.