diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2014-12-29 16:00:18 +0300 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2015-03-20 17:34:41 +0300 |
commit | ad80492df56b4bd2d4da9990678d87b66af42f54 (patch) | |
tree | aa02c96f89e27cb126ed0ee8344c683efb3e732c /Documentation/kmemcheck.txt | |
parent | 9bfc52c1091c871cbc58390874b5c4ebe266bee0 (diff) | |
download | linux-ad80492df56b4bd2d4da9990678d87b66af42f54.tar.xz |
9p: fix error handling in v9fs_file_do_lock
p9_client_lock_dotl() doesn't set status if p9_client_rpc() fails.
It can lead to 'default:' case in switch below and kernel crashes.
Let's bypass the switch if p9_client_lock_dotl() fails.
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'Documentation/kmemcheck.txt')
0 files changed, 0 insertions, 0 deletions