diff options
author | Oleg Drokin <Oleg.Drokin@Sun.COM> | 2007-11-29 20:02:21 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2008-02-01 22:42:06 +0100 |
commit | 29dbf546159f5701e11de26fa2da5c4a962e0f83 (patch) | |
tree | 1dcdd1785445cbbf30a159a15b7b1d77f42c51c2 /fs/nfsd/vfs.c | |
parent | nfsd: Allow AIX client to read dir containing mountpoints (diff) | |
download | linux-29dbf546159f5701e11de26fa2da5c4a962e0f83.tar.xz linux-29dbf546159f5701e11de26fa2da5c4a962e0f83.zip |
lockd: fix a leak in nlmsvc_testlock asynchronous request handling
Without the patch, there is a leakage of nlmblock structure refcount
that holds a reference nlmfile structure, that holds a reference to
struct file, when async GETFL is used (-EINPROGRESS return from
file_ops->lock()), and also in some error cases.
Fix up a style nit while we're here.
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/nfsd/vfs.c')
0 files changed, 0 insertions, 0 deletions