diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index f5fc5d72c3623d759f885431bd17142725890474..eefd29ec43f2dee0f435138c8c15fcc8e1bbf936 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c @@ -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; diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h index 8bc961e192f2b07b9eeb62b5d7f9f683f3046d4c..38ebb1268b597a28ba6aba13711e18022553ca05 100644 --- a/fs/nfsd/state.h +++ b/fs/nfsd/state.h @@ -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);