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
69dd716c
Commit
69dd716c
authored
Dec 14, 2007
by
Trond Myklebust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NFSv4: Add socket proto argument to setclientid
Signed-off-by:
Trond Myklebust
<
Trond.Myklebust@netapp.com
>
parent
3c7c7e48
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
fs/nfs/nfs4proc.c
fs/nfs/nfs4proc.c
+3
-1
include/linux/nfs_xdr.h
include/linux/nfs_xdr.h
+1
-1
No files found.
fs/nfs/nfs4proc.c
View file @
69dd716c
...
...
@@ -2891,10 +2891,12 @@ int nfs4_proc_setclientid(struct nfs_client *clp, u32 program, unsigned short po
for
(;;)
{
setclientid
.
sc_name_len
=
scnprintf
(
setclientid
.
sc_name
,
sizeof
(
setclientid
.
sc_name
),
"%s/%s %s %u"
,
sizeof
(
setclientid
.
sc_name
),
"%s/%s %s %
s %
u"
,
clp
->
cl_ipaddr
,
rpc_peeraddr2str
(
clp
->
cl_rpcclient
,
RPC_DISPLAY_ADDR
),
rpc_peeraddr2str
(
clp
->
cl_rpcclient
,
RPC_DISPLAY_PROTO
),
cred
->
cr_ops
->
cr_name
,
clp
->
cl_id_uniquifier
);
setclientid
.
sc_netid_len
=
scnprintf
(
setclientid
.
sc_netid
,
...
...
include/linux/nfs_xdr.h
View file @
69dd716c
...
...
@@ -666,7 +666,7 @@ struct nfs4_rename_res {
struct
nfs_fattr
*
new_fattr
;
};
#define NFS4_SETCLIENTID_NAMELEN (
48
)
#define NFS4_SETCLIENTID_NAMELEN (
56
)
struct
nfs4_setclientid
{
const
nfs4_verifier
*
sc_verifier
;
unsigned
int
sc_name_len
;
...
...
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