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
ac94bf58
Commit
ac94bf58
authored
May 31, 2010
by
J. Bruce Fields
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nfsd4: fix deleg leak on callback error
Signed-off-by:
J. Bruce Fields
<
bfields@citi.umich.edu
>
parent
ec8acac8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
fs/nfsd/nfs4callback.c
fs/nfsd/nfs4callback.c
+3
-1
No files found.
fs/nfsd/nfs4callback.c
View file @
ac94bf58
...
@@ -761,8 +761,10 @@ static void _nfsd4_cb_recall(struct nfs4_delegation *dp)
...
@@ -761,8 +761,10 @@ static void _nfsd4_cb_recall(struct nfs4_delegation *dp)
.
rpc_cred
=
callback_cred
.
rpc_cred
=
callback_cred
};
};
if
(
clnt
==
NULL
)
if
(
clnt
==
NULL
)
{
nfs4_put_delegation
(
dp
);
return
;
/* Client is shutting down; give up. */
return
;
/* Client is shutting down; give up. */
}
args
->
args_op
=
dp
;
args
->
args_op
=
dp
;
msg
.
rpc_argp
=
args
;
msg
.
rpc_argp
=
args
;
...
...
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