diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-04-30 22:39:33 +0800 |
---|---|---|
committer | Dominique Martinet <dominique.martinet@cea.fr> | 2019-05-15 13:00:07 +0000 |
commit | 80a316ff16276b36d0392a8f8b2f63259857ae98 (patch) | |
tree | 27b903a120bca18d3994228e06ab2ee13b405044 /kernel | |
parent | d4548543fc4ece56c6f04b8586f435fb4fd84c20 (diff) | |
download | linux-stable-80a316ff16276b36d0392a8f8b2f63259857ae98.tar.gz linux-stable-80a316ff16276b36d0392a8f8b2f63259857ae98.tar.bz2 linux-stable-80a316ff16276b36d0392a8f8b2f63259857ae98.zip |
9p/xen: Add cleanup path in p9_trans_xen_init
If xenbus_register_frontend() fails in p9_trans_xen_init,
we should call v9fs_unregister_trans() to do cleanup.
Link: http://lkml.kernel.org/r/20190430143933.19368-1-yuehaibing@huawei.com
Cc: stable@vger.kernel.org
Fixes: 868eb122739a ("xen/9pfs: introduce Xen 9pfs transport driver")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions