diff options
| -rw-r--r-- | fs/nfsd/nfs4state.c | 2 | ||||
| -rw-r--r-- | fs/nfsd/state.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index f5fc5d72c362..eefd29ec43f2 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c | |||
| @@ -342,7 +342,7 @@ find_readable_file(struct nfs4_file *f) | |||
| 342 | return ret; | 342 | return ret; |
| 343 | } | 343 | } |
| 344 | 344 | ||
| 345 | static struct file * | 345 | struct file * |
| 346 | find_any_file(struct nfs4_file *f) | 346 | find_any_file(struct nfs4_file *f) |
| 347 | { | 347 | { |
| 348 | struct file *ret; | 348 | struct file *ret; |
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h index 8bc961e192f2..38ebb1268b59 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) | |||
| 579 | { | 579 | { |
| 580 | atomic_inc(&fi->fi_ref); | 580 | atomic_inc(&fi->fi_ref); |
| 581 | } | 581 | } |
| 582 | struct file *find_any_file(struct nfs4_file *f); | ||
| 582 | 583 | ||
| 583 | /* grace period management */ | 584 | /* grace period management */ |
| 584 | void nfsd4_end_grace(struct nfsd_net *nn); | 585 | void nfsd4_end_grace(struct nfsd_net *nn); |
