History

nfsd: make find_any_file available outside nfs4state.c

Christoph Hellwig committed 12 years ago

Commit 4d227fc1 parent e6ba76e2 files · +2 −1Browse files

Unified · Split

2 files
  1. fs/nfsd/nfs4state.c +1 −1
  2. fs/nfsd/state.h +1 −0
fs/nfsd/nfs4state.c+1−1
@@ -342,7 +342,7 @@ find_readable_file(struct nfs4_file *f) · 341 unmodified lines
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+1−0
@@ -579,6 +579,7 @@ static inline void get_nfs4_file(struct nfs4_file *fi) · 578 unmodified lines
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);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t