commit | a7823c797b4d29727499f0a75ddf3ed07af8ad0a | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Sat Mar 23 00:36:44 2013 +0400 |
committer | J. Bruce Fields <bfields@redhat.com> | Wed Apr 03 15:32:32 2013 -0400 |
tree | d5a4d2cb12ef87e91296fac1f4765394ff9a147f | |
parent | ff7c4b3693cbc7e938f49ed89e2f649a33f03ed1 [diff] |
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>