Dan Carpenter dfd375864a 9p: Uninitialized variable in v9fs_writeback_fid()
If v9fs_fid_lookup_with_uid() fails then "fid" is not initialized.

The v9fs_fid_lookup_with_uid() can't return NULL.  If it returns an
error pointer then we can still pass that to clone_fid() and it will
return the error pointer back again.

Fixes: 6636b6dcc3db ("9p: add refcount to p9_fid struct")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
2020-12-01 08:18:57 +01:00
..
2018-09-08 01:51:50 +09:00
2020-03-27 09:29:56 +00:00
2020-07-19 14:58:47 +02:00
2020-11-19 17:20:39 +01:00
2020-11-19 17:20:39 +01:00
2020-11-19 17:20:39 +01:00
2020-11-19 17:20:39 +01:00
2020-11-19 17:20:39 +01:00
2015-11-13 20:34:33 -05:00