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
Kirill Smelkov
linux
Commits
8534d4ec
Commit
8534d4ec
authored
Aug 24, 2011
by
Trond Myklebust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NFSv4: nfs4_proc_renew should be declared static
Signed-off-by:
Trond Myklebust
<
Trond.Myklebust@netapp.com
>
parent
b569ad34
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
fs/nfs/nfs4_fs.h
fs/nfs/nfs4_fs.h
+0
-2
fs/nfs/nfs4proc.c
fs/nfs/nfs4proc.c
+2
-2
No files found.
fs/nfs/nfs4_fs.h
View file @
8534d4ec
...
...
@@ -237,8 +237,6 @@ extern const struct inode_operations nfs4_dir_inode_operations;
extern
int
nfs4_proc_setclientid
(
struct
nfs_client
*
,
u32
,
unsigned
short
,
struct
rpc_cred
*
,
struct
nfs4_setclientid_res
*
);
extern
int
nfs4_proc_setclientid_confirm
(
struct
nfs_client
*
,
struct
nfs4_setclientid_res
*
arg
,
struct
rpc_cred
*
);
extern
int
nfs4_proc_exchange_id
(
struct
nfs_client
*
clp
,
struct
rpc_cred
*
cred
);
extern
int
nfs4_proc_async_renew
(
struct
nfs_client
*
,
struct
rpc_cred
*
);
extern
int
nfs4_proc_renew
(
struct
nfs_client
*
,
struct
rpc_cred
*
);
extern
int
nfs4_init_clientid
(
struct
nfs_client
*
,
struct
rpc_cred
*
);
extern
int
nfs41_init_clientid
(
struct
nfs_client
*
,
struct
rpc_cred
*
);
extern
int
nfs4_do_close
(
struct
nfs4_state
*
state
,
gfp_t
gfp_mask
,
int
wait
,
bool
roc
);
...
...
fs/nfs/nfs4proc.c
View file @
8534d4ec
...
...
@@ -3386,7 +3386,7 @@ static const struct rpc_call_ops nfs4_renew_ops = {
.
rpc_release
=
nfs4_renew_release
,
};
int
nfs4_proc_async_renew
(
struct
nfs_client
*
clp
,
struct
rpc_cred
*
cred
)
static
int
nfs4_proc_async_renew
(
struct
nfs_client
*
clp
,
struct
rpc_cred
*
cred
)
{
struct
rpc_message
msg
=
{
.
rpc_proc
=
&
nfs4_procedures
[
NFSPROC4_CLNT_RENEW
],
...
...
@@ -3406,7 +3406,7 @@ int nfs4_proc_async_renew(struct nfs_client *clp, struct rpc_cred *cred)
&
nfs4_renew_ops
,
data
);
}
int
nfs4_proc_renew
(
struct
nfs_client
*
clp
,
struct
rpc_cred
*
cred
)
static
int
nfs4_proc_renew
(
struct
nfs_client
*
clp
,
struct
rpc_cred
*
cred
)
{
struct
rpc_message
msg
=
{
.
rpc_proc
=
&
nfs4_procedures
[
NFSPROC4_CLNT_RENEW
],
...
...
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