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
c5230112
Commit
c5230112
authored
Apr 08, 2003
by
Marius Aamodt Eriksen
Committed by
Trond Myklebust
Apr 08, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add hooks into the NFSv4 XDR code to make use of the new uid/gid
mapper upcall mechanism.
parent
8e8c637b
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
70 additions
and
89 deletions
+70
-89
fs/nfs/nfs4proc.c
fs/nfs/nfs4proc.c
+4
-0
fs/nfs/nfs4xdr.c
fs/nfs/nfs4xdr.c
+62
-89
include/linux/nfs_xdr.h
include/linux/nfs_xdr.h
+4
-0
No files found.
fs/nfs/nfs4proc.c
View file @
c5230112
...
...
@@ -596,11 +596,13 @@ nfs4_do_open(struct inode *dir, struct qstr *name, int flags,
.
name
=
name
,
.
f_getattr
=
&
f_getattr
,
.
d_getattr
=
&
d_getattr
,
.
server
=
server
,
};
struct
nfs_openres
o_res
=
{
.
cinfo
=
&
d_cinfo
,
.
f_getattr
=
&
f_getattr
,
.
d_getattr
=
&
d_getattr
,
.
server
=
server
,
};
struct
rpc_message
msg
=
{
.
rpc_proc
=
&
nfs4_procedures
[
NFSPROC4_CLNT_OPEN
],
...
...
@@ -685,9 +687,11 @@ nfs4_do_setattr(struct nfs_server *server, struct nfs_fattr *fattr,
.
fh
=
fhandle
,
.
iap
=
sattr
,
.
attr
=
&
getattr
,
.
server
=
server
,
};
struct
nfs_setattrres
res
=
{
.
attr
=
&
getattr
,
.
server
=
server
,
};
struct
rpc_message
msg
=
{
.
rpc_proc
=
&
nfs4_procedures
[
NFSPROC4_CLNT_SETATTR
],
...
...
fs/nfs/nfs4xdr.c
View file @
c5230112
This diff is collapsed.
Click to expand it.
include/linux/nfs_xdr.h
View file @
c5230112
...
...
@@ -105,6 +105,7 @@ struct nfs_openargs {
struct
qstr
*
name
;
struct
nfs4_getattr
*
f_getattr
;
struct
nfs4_getattr
*
d_getattr
;
struct
nfs_server
*
server
;
/* Needed for ID mapping */
};
struct
nfs_openres
{
...
...
@@ -115,6 +116,7 @@ struct nfs_openres {
__u32
rflags
;
struct
nfs4_getattr
*
f_getattr
;
struct
nfs4_getattr
*
d_getattr
;
struct
nfs_server
*
server
;
};
/*
...
...
@@ -248,10 +250,12 @@ struct nfs_setattrargs {
nfs4_stateid
stateid
;
struct
iattr
*
iap
;
struct
nfs4_getattr
*
attr
;
struct
nfs_server
*
server
;
/* Needed for name mapping */
};
struct
nfs_setattrres
{
struct
nfs4_getattr
*
attr
;
struct
nfs_server
*
server
;
};
struct
nfs_linkargs
{
...
...
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