diff options
author | Dominique Martinet <dominique.martinet@cea.fr> | 2015-01-09 14:56:07 +0300 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2015-03-22 05:30:31 +0300 |
commit | 5c4086b8de6989f10ae814f5746604fc44a02a21 (patch) | |
tree | a245e7e9d4b6ab1c8b48e2d1344e8f0bcae9feb6 /net/9p | |
parent | b99baa43e533eb62a947e623d0ef844cfbf28d8e (diff) | |
download | linux-5c4086b8de6989f10ae814f5746604fc44a02a21.tar.xz |
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 <dominique.martinet@cea.fr>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'net/9p')
0 files changed, 0 insertions, 0 deletions