diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2013-03-22 21:36:44 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2013-04-03 21:32:32 +0200 |
commit | a7823c797b4d29727499f0a75ddf3ed07af8ad0a (patch) | |
tree | d5a4d2cb12ef87e91296fac1f4765394ff9a147f /fs/hfs | |
parent | nfsd: remove /proc/fs/nfs when create /proc/fs/nfs/exports error (diff) | |
download | linux-a7823c797b4d29727499f0a75ddf3ed07af8ad0a.tar.xz linux-a7823c797b4d29727499f0a75ddf3ed07af8ad0a.zip |
SUNRPC/cache: add module_put() on error path in cache_open()
If kmalloc() fails in cache_open(), module cd->owner left locked.
The patch adds module_put(cd->owner) on this path.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/hfs')
0 files changed, 0 insertions, 0 deletions