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
baadce65
Commit
baadce65
authored
Oct 19, 2020
by
Chuck Lever
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NFSD: Clean up after updating NFSv2 ACL decoders
Signed-off-by:
Chuck Lever
<
chuck.lever@oracle.com
>
parent
64063892
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
19 deletions
+0
-19
fs/nfsd/nfsxdr.c
fs/nfsd/nfsxdr.c
+0
-18
fs/nfsd/xdr.h
fs/nfsd/xdr.h
+0
-1
No files found.
fs/nfsd/nfsxdr.c
View file @
baadce65
...
...
@@ -26,18 +26,6 @@ static u32 nfs_ftypes[] = {
* Basic NFSv2 data types (RFC 1094 Section 2.3)
*/
static
__be32
*
decode_fh
(
__be32
*
p
,
struct
svc_fh
*
fhp
)
{
fh_init
(
fhp
,
NFS_FHSIZE
);
memcpy
(
&
fhp
->
fh_handle
.
fh_base
,
p
,
NFS_FHSIZE
);
fhp
->
fh_handle
.
fh_size
=
NFS_FHSIZE
;
/* FIXME: Look up export pointer here and verify
* Sun Secure RPC if requested */
return
p
+
(
NFS_FHSIZE
>>
2
);
}
/**
* svcxdr_decode_fhandle - Decode an NFSv2 file handle
* @xdr: XDR stream positioned at an encoded NFSv2 FH
...
...
@@ -62,12 +50,6 @@ svcxdr_decode_fhandle(struct xdr_stream *xdr, struct svc_fh *fhp)
return
true
;
}
/* Helper function for NFSv2 ACL code */
__be32
*
nfs2svc_decode_fh
(
__be32
*
p
,
struct
svc_fh
*
fhp
)
{
return
decode_fh
(
p
,
fhp
);
}
static
__be32
*
encode_fh
(
__be32
*
p
,
struct
svc_fh
*
fhp
)
{
...
...
fs/nfsd/xdr.h
View file @
baadce65
...
...
@@ -164,7 +164,6 @@ void nfssvc_release_readres(struct svc_rqst *rqstp);
/* Helper functions for NFSv2 ACL code */
__be32
*
nfs2svc_encode_fattr
(
struct
svc_rqst
*
rqstp
,
__be32
*
p
,
struct
svc_fh
*
fhp
,
struct
kstat
*
stat
);
__be32
*
nfs2svc_decode_fh
(
__be32
*
p
,
struct
svc_fh
*
fhp
);
bool
svcxdr_decode_fhandle
(
struct
xdr_stream
*
xdr
,
struct
svc_fh
*
fhp
);
#endif
/* LINUX_NFSD_H */
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