Skip to content
Commit 65f53338 authored by Zhao Lei's avatar Zhao Lei Committed by Chris Mason
Browse files

btrfs: cleanup noused initialization of dev in btrfs_end_bio()



It is introduced by:
 c404e0dc
 Btrfs: fix use-after-free in the finishing procedure of the device replace

But seems no relationship with that bug, this patch revirt these
code block for cleanup.

Signed-off-by: default avatarZhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: default avatarChris Mason <clm@fb.com>
parent fe759907
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment