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
9056fff3
Commit
9056fff3
authored
Aug 10, 2015
by
J. Bruce Fields
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-4.2' into for-4.3
parents
c8623999
8fcd461d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
fs/nfsd/nfs4state.c
fs/nfsd/nfs4state.c
+6
-6
No files found.
fs/nfsd/nfs4state.c
View file @
9056fff3
...
...
@@ -4396,9 +4396,9 @@ laundromat_main(struct work_struct *laundry)
queue_delayed_work
(
laundry_wq
,
&
nn
->
laundromat_work
,
t
*
HZ
);
}
static
inline
__be32
nfs4_check_fh
(
struct
svc_fh
*
fhp
,
struct
nfs4_
ol_state
id
*
stp
)
static
inline
__be32
nfs4_check_fh
(
struct
svc_fh
*
fhp
,
struct
nfs4_
st
id
*
stp
)
{
if
(
!
fh_match
(
&
fhp
->
fh_handle
,
&
stp
->
s
t_stid
.
s
c_file
->
fi_fhandle
))
if
(
!
fh_match
(
&
fhp
->
fh_handle
,
&
stp
->
sc_file
->
fi_fhandle
))
return
nfserr_bad_stateid
;
return
nfs_ok
;
}
...
...
@@ -4601,9 +4601,6 @@ nfs4_check_olstateid(struct svc_fh *fhp, struct nfs4_ol_stateid *ols, int flags)
{
__be32
status
;
status
=
nfs4_check_fh
(
fhp
,
ols
);
if
(
status
)
return
status
;
status
=
nfsd4_check_openowner_confirmed
(
ols
);
if
(
status
)
return
status
;
...
...
@@ -4690,6 +4687,9 @@ nfs4_preprocess_stateid_op(struct svc_rqst *rqstp,
status
=
nfserr_bad_stateid
;
break
;
}
if
(
status
)
goto
out
;
status
=
nfs4_check_fh
(
fhp
,
s
);
done:
if
(
!
status
&&
filpp
)
...
...
@@ -4798,7 +4798,7 @@ static __be32 nfs4_seqid_op_checks(struct nfsd4_compound_state *cstate, stateid_
status
=
check_stateid_generation
(
stateid
,
&
stp
->
st_stid
.
sc_stateid
,
nfsd4_has_session
(
cstate
));
if
(
status
)
return
status
;
return
nfs4_check_fh
(
current_fh
,
stp
);
return
nfs4_check_fh
(
current_fh
,
&
stp
->
st_stid
);
}
/*
...
...
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