Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linux-seco-imx
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Jira
Code
Merge requests
14
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Clea OS
bsp
nxp
linux-seco-imx
Commits
ac94bf58
Commit
ac94bf58
authored
15 years ago
by
J. Bruce Fields
Browse files
Options
Downloads
Patches
Plain Diff
nfsd4: fix deleg leak on callback error
Signed-off-by:
J. Bruce Fields
<
bfields@citi.umich.edu
>
parent
ec8acac8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
fs/nfsd/nfs4callback.c
+3
-1
3 additions, 1 deletion
fs/nfsd/nfs4callback.c
with
3 additions
and
1 deletion
fs/nfsd/nfs4callback.c
+
3
−
1
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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment