提交 4d227fca 编写于 作者: C Christoph Hellwig

nfsd: make find_any_file available outside nfs4state.c

Signed-off-by: NChristoph Hellwig <hch@lst.de>
上级 e6ba76e1
...@@ -342,7 +342,7 @@ find_readable_file(struct nfs4_file *f) ...@@ -342,7 +342,7 @@ find_readable_file(struct nfs4_file *f)
return ret; return ret;
} }
static struct file * struct file *
find_any_file(struct nfs4_file *f) find_any_file(struct nfs4_file *f)
{ {
struct file *ret; struct file *ret;
......
...@@ -579,6 +579,7 @@ static inline void get_nfs4_file(struct nfs4_file *fi) ...@@ -579,6 +579,7 @@ static inline void get_nfs4_file(struct nfs4_file *fi)
{ {
atomic_inc(&fi->fi_ref); atomic_inc(&fi->fi_ref);
} }
struct file *find_any_file(struct nfs4_file *f);
/* grace period management */ /* grace period management */
void nfsd4_end_grace(struct nfsd_net *nn); void nfsd4_end_grace(struct nfsd_net *nn);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册