]> 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)
commitbac8093e974bac5c8452a73da37828eb72dfe577
treed4ff1a5b334708119d78d1411104d65741e7a527
parent1bc0c2fc6ff2e210dcfc9a9043c7490faf87e3b0
btrfs: cleanup noused initialization of dev in btrfs_end_bio()

It is introduced by:
 c89fb12d36e16d27a5b89749ee415804a1a587d3
 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