]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: cleanup noused initialization of dev in btrfs_end_bio()
authorZhao Lei <zhaolei@cn.fujitsu.com>
Mon, 8 Jun 2015 12:05:50 +0000 (20:05 +0800)
committerChris Mason <clm@fb.com>
Tue, 30 Jun 2015 20:20:02 +0000 (13:20 -0700)
commit5d211f2c07a3a3fa39aa01d8a1bcdf150bbda5fe
treed4ff1a5b334708119d78d1411104d65741e7a527
parent302dca97e90493e2174b866b2750862e2a70ca56
btrfs: cleanup noused initialization of dev in btrfs_end_bio()

It is introduced by:
 27daa39a102ad380e424525cbc541c6e188d15eb
 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: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/volumes.c