Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
4d227fca
Commit
4d227fca
authored
Aug 17, 2014
by
Christoph Hellwig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nfsd: make find_any_file available outside nfs4state.c
Signed-off-by:
Christoph Hellwig
<
hch@lst.de
>
parent
e6ba76e1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
fs/nfsd/nfs4state.c
fs/nfsd/nfs4state.c
+1
-1
fs/nfsd/state.h
fs/nfsd/state.h
+1
-0
No files found.
fs/nfsd/nfs4state.c
View file @
4d227fca
...
@@ -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
;
}
}
st
atic
st
ruct
file
*
struct
file
*
find_any_file
(
struct
nfs4_file
*
f
)
find_any_file
(
struct
nfs4_file
*
f
)
{
{
struct
file
*
ret
;
struct
file
*
ret
;
...
...
fs/nfsd/state.h
View file @
4d227fca
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment