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
81b68de4
Commit
81b68de4
authored
Jan 11, 2017
by
Anna Schumaker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NFS: No need to set and return status in nfs41_lock_expired()
Signed-off-by:
Anna Schumaker
<
Anna.Schumaker@Netapp.com
>
parent
9df1336c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
fs/nfs/nfs4proc.c
fs/nfs/nfs4proc.c
+1
-2
No files found.
fs/nfs/nfs4proc.c
View file @
81b68de4
...
...
@@ -6282,8 +6282,7 @@ static int nfs41_lock_expired(struct nfs4_state *state, struct file_lock *reques
if
(
test_bit
(
NFS_LOCK_INITIALIZED
,
&
lsp
->
ls_flags
)
||
test_bit
(
NFS_LOCK_LOST
,
&
lsp
->
ls_flags
))
return
0
;
status
=
nfs4_lock_expired
(
state
,
request
);
return
status
;
return
nfs4_lock_expired
(
state
,
request
);
}
#endif
...
...
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