From: Dominique Martinet Date: Fri, 9 Jan 2015 11:56:07 +0000 (+0100) Subject: fs/9p: Initialize status in v9fs_file_do_lock. X-Git-Tag: omap-for-v4.1/fixes-rc1~94^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c4086b8de6989f10ae814f5746604fc44a02a21;p=pandora-kernel.git fs/9p: Initialize status in v9fs_file_do_lock. If p9_client_lock_dotl returns an error, status is possibly never filled but will be used in the following switch. Initializing it to P9_LOCK_ERROR makes sur we will return an error and cleanup (and not hit the default case). Signed-off-by: Dominique Martinet Signed-off-by: Eric Van Hensbergen --- Reading git-diff-tree failed