diff options
author | Xie Yongji <xieyongji@bytedance.com> | 2021-05-17 11:35:57 +0300 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2021-07-27 17:01:15 +0300 |
commit | f997ea3b7afc108eb9761f321b57de2d089c7c48 (patch) | |
tree | 5ce179118c560b871d6ed7a14e574398fee1fff2 /crypto/api.c | |
parent | ff1176468d368232b684f75e82563369208bc371 (diff) | |
download | linux-f997ea3b7afc108eb9761f321b57de2d089c7c48.tar.xz |
9p/trans_virtio: Remove sysfs file on probe failure
This ensures we don't leak the sysfs file if we failed to
allocate chan->vc_wq during probe.
Link: http://lkml.kernel.org/r/20210517083557.172-1-xieyongji@bytedance.com
Fixes: 86c8437383ac ("net/9p: Add sysfs mount_tag file for virtio 9P device")
Signed-off-by: Xie Yongji <xieyongji@bytedance.com>
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Diffstat (limited to 'crypto/api.c')
0 files changed, 0 insertions, 0 deletions