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
50a2b7dd
Commit
50a2b7dd
authored
Oct 11, 2002
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Declare set_change_info() only if CONFIG_NFSD_V3 is enabled. It
uses fields that do not exist otherwise.
parent
08f895c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
include/linux/nfsd/xdr4.h
include/linux/nfsd/xdr4.h
+2
-0
No files found.
include/linux/nfsd/xdr4.h
View file @
50a2b7dd
...
@@ -298,6 +298,7 @@ struct nfsd4_compoundres {
...
@@ -298,6 +298,7 @@ struct nfsd4_compoundres {
#define NFS4_SVC_XDRSIZE sizeof(struct nfsd4_compoundargs)
#define NFS4_SVC_XDRSIZE sizeof(struct nfsd4_compoundargs)
#if CONFIG_NFSD_V3
static
inline
void
static
inline
void
set_change_info
(
struct
nfsd4_change_info
*
cinfo
,
struct
svc_fh
*
fhp
)
set_change_info
(
struct
nfsd4_change_info
*
cinfo
,
struct
svc_fh
*
fhp
)
{
{
...
@@ -308,6 +309,7 @@ set_change_info(struct nfsd4_change_info *cinfo, struct svc_fh *fhp)
...
@@ -308,6 +309,7 @@ set_change_info(struct nfsd4_change_info *cinfo, struct svc_fh *fhp)
cinfo
->
after_size
=
fhp
->
fh_post_size
;
cinfo
->
after_size
=
fhp
->
fh_post_size
;
cinfo
->
after_ctime
=
fhp
->
fh_post_ctime
;
cinfo
->
after_ctime
=
fhp
->
fh_post_ctime
;
}
}
#endif
int
nfs4svc_encode_voidres
(
struct
svc_rqst
*
,
u32
*
,
void
*
);
int
nfs4svc_encode_voidres
(
struct
svc_rqst
*
,
u32
*
,
void
*
);
int
nfs4svc_decode_compoundargs
(
struct
svc_rqst
*
,
u32
*
,
struct
nfsd4_compoundargs
*
);
int
nfs4svc_decode_compoundargs
(
struct
svc_rqst
*
,
u32
*
,
struct
nfsd4_compoundargs
*
);
...
...
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