summaryrefslogtreecommitdiff
path: root/fs/super.c
diff options
context:
space:
mode:
authorzhengbin <zhengbin13@huawei.com>2019-08-14 15:59:09 +0800
committerMiklos Szeredi <mszeredi@redhat.com>2019-09-24 15:28:01 +0200
commit9ad09b1976c562061636ff1e01bfc3a57aebe56b (patch)
treed8fab85d48e1041b9f395146b9fe3b97729c7684 /fs/super.c
parente5854b1cdf6cb48a20e01e3bdad0476a4c60a077 (diff)
downloadlwn-9ad09b1976c562061636ff1e01bfc3a57aebe56b.tar.gz
lwn-9ad09b1976c562061636ff1e01bfc3a57aebe56b.zip
fuse: fix memleak in cuse_channel_open
If cuse_send_init fails, need to fuse_conn_put cc->fc. cuse_channel_open->fuse_conn_init->refcount_set(&fc->count, 1) ->fuse_dev_alloc->fuse_conn_get ->fuse_dev_free->fuse_conn_put Fixes: cc080e9e9be1 ("fuse: introduce per-instance fuse_dev structure") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: zhengbin <zhengbin13@huawei.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/super.c')
0 files changed, 0 insertions, 0 deletions