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
371781cb
Commit
371781cb
authored
Aug 31, 2003
by
Andrew Morton
Committed by
Linus Torvalds
Aug 31, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] knfsd nfs4 warning fixes
parent
e23a1220
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4proc.c
+2
-1
fs/nfsd/nfs4state.c
fs/nfsd/nfs4state.c
+3
-3
No files found.
fs/nfsd/nfs4proc.c
View file @
371781cb
...
@@ -106,7 +106,8 @@ static inline int
...
@@ -106,7 +106,8 @@ static inline int
nfsd4_open
(
struct
svc_rqst
*
rqstp
,
struct
svc_fh
*
current_fh
,
struct
nfsd4_open
*
open
)
nfsd4_open
(
struct
svc_rqst
*
rqstp
,
struct
svc_fh
*
current_fh
,
struct
nfsd4_open
*
open
)
{
{
int
status
;
int
status
;
dprintk
(
"NFSD: nfsd4_open filename %.*s
\n
"
,
open
->
op_fname
.
len
,
open
->
op_fname
.
data
);
dprintk
(
"NFSD: nfsd4_open filename %.*s
\n
"
,
(
int
)
open
->
op_fname
.
len
,
open
->
op_fname
.
data
);
/* This check required by spec. */
/* This check required by spec. */
if
(
open
->
op_create
&&
open
->
op_claim_type
!=
NFS4_OPEN_CLAIM_NULL
)
if
(
open
->
op_create
&&
open
->
op_claim_type
!=
NFS4_OPEN_CLAIM_NULL
)
...
...
fs/nfsd/nfs4state.c
View file @
371781cb
...
@@ -1484,7 +1484,7 @@ nfsd4_open_confirm(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfs
...
@@ -1484,7 +1484,7 @@ nfsd4_open_confirm(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfs
struct
nfs4_stateid
*
stp
;
struct
nfs4_stateid
*
stp
;
dprintk
(
"NFSD: nfsd4_open_confirm on file %.*s
\n
"
,
dprintk
(
"NFSD: nfsd4_open_confirm on file %.*s
\n
"
,
current_fh
->
fh_dentry
->
d_name
.
len
,
(
int
)
current_fh
->
fh_dentry
->
d_name
.
len
,
current_fh
->
fh_dentry
->
d_name
.
name
);
current_fh
->
fh_dentry
->
d_name
.
name
);
oc
->
oc_stateowner
=
NULL
;
oc
->
oc_stateowner
=
NULL
;
down
(
&
client_sema
);
/* XXX need finer grained locking */
down
(
&
client_sema
);
/* XXX need finer grained locking */
...
@@ -1518,7 +1518,7 @@ nfsd4_open_downgrade(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct n
...
@@ -1518,7 +1518,7 @@ nfsd4_open_downgrade(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct n
struct
nfs4_stateid
*
stp
;
struct
nfs4_stateid
*
stp
;
dprintk
(
"NFSD: nfsd4_open_downgrade on file %.*s
\n
"
,
dprintk
(
"NFSD: nfsd4_open_downgrade on file %.*s
\n
"
,
current_fh
->
fh_dentry
->
d_name
.
len
,
(
int
)
current_fh
->
fh_dentry
->
d_name
.
len
,
current_fh
->
fh_dentry
->
d_name
.
name
);
current_fh
->
fh_dentry
->
d_name
.
name
);
down
(
&
client_sema
);
/* XXX need finer grained locking */
down
(
&
client_sema
);
/* XXX need finer grained locking */
...
@@ -1557,7 +1557,7 @@ nfsd4_close(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_clos
...
@@ -1557,7 +1557,7 @@ nfsd4_close(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_clos
struct
nfs4_stateid
*
stp
;
struct
nfs4_stateid
*
stp
;
dprintk
(
"NFSD: nfsd4_close on file %.*s
\n
"
,
dprintk
(
"NFSD: nfsd4_close on file %.*s
\n
"
,
current_fh
->
fh_dentry
->
d_name
.
len
,
(
int
)
current_fh
->
fh_dentry
->
d_name
.
len
,
current_fh
->
fh_dentry
->
d_name
.
name
);
current_fh
->
fh_dentry
->
d_name
.
name
);
down
(
&
client_sema
);
/* XXX need finer grained locking */
down
(
&
client_sema
);
/* XXX need finer grained locking */
...
...
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