aboutsummaryrefslogtreecommitdiff
path: root/scripts/rustdoc_test_builder.rs
diff options
context:
space:
mode:
authorHangyu Hua <[email protected]>2023-11-16 15:57:26 +0800
committerMiklos Szeredi <[email protected]>2023-12-04 10:16:53 +0100
commit7f8ed28d1401320bcb02dda81b3c23ab2dc5a6d8 (patch)
treea2a97878294c4e58e398790a826f6d9d8f59e025 /scripts/rustdoc_test_builder.rs
parentc4d361f66ac91db8fc65061a9671682f61f4ca9d (diff)
fuse: dax: set fc->dax to NULL in fuse_dax_conn_free()
fuse_dax_conn_free() will be called when fuse_fill_super_common() fails after fuse_dax_conn_alloc(). Then deactivate_locked_super() in virtio_fs_get_tree() will call virtio_kill_sb() to release the discarded superblock. This will call fuse_dax_conn_free() again in fuse_conn_put(), resulting in a possible double free. Fixes: 1dd539577c42 ("virtiofs: add a mount option to enable dax") Signed-off-by: Hangyu Hua <[email protected]> Acked-by: Vivek Goyal <[email protected]> Reviewed-by: Jingbo Xu <[email protected]> Cc: <[email protected]> # v5.10 Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions