diff options
author | NeilBrown <neilb@cse.unsw.edu.au> | 2005-04-17 00:26:38 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-17 00:26:38 +0200 |
commit | c907132d534c10b4f34a60383c8384403cb424a4 (patch) | |
tree | 706511b06aeeee25615f45701e640d01f4f1d51a /arch/m32r | |
parent | [PATCH] nfsd4: callback create rpc client returns (diff) | |
download | linux-c907132d534c10b4f34a60383c8384403cb424a4.tar.xz linux-c907132d534c10b4f34a60383c8384403cb424a4.zip |
[PATCH] nfsd4: fix struct file leak
We were failing to close on an error path, resulting in a leak of struct files
which could take a v4 server down fairly quickly.... So call
nfs4_close_delegation instead of just open-coding parts of it.
Simplify the cleanup on delegation failure while we're at it.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/m32r')
0 files changed, 0 insertions, 0 deletions