From: Kirill A. Shutemov Date: Mon, 29 Dec 2014 13:00:18 +0000 (+0200) Subject: 9p: fix error handling in v9fs_file_do_lock X-Git-Tag: omap-for-v4.1/fixes-rc1~94^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad80492df56b4bd2d4da9990678d87b66af42f54;p=pandora-kernel.git 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 Signed-off-by: Dominique Martinet Signed-off-by: Eric Van Hensbergen --- Reading git-diff-tree failed