summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-checker.c
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2017-12-01 01:26:39 +0100
committerDavid Sterba <dsterba@suse.com>2018-01-22 16:08:15 +0100
commitb4ff5ad72e9331aabfa92456403946d17c4959d5 (patch)
treea4872b86d6683e4edd2d4860d7e2feb587dc4487 /fs/btrfs/tree-checker.c
parentBtrfs: remove unused variable wait in lock_stripe_add (diff)
downloadlinux-b4ff5ad72e9331aabfa92456403946d17c4959d5.tar.xz
linux-b4ff5ad72e9331aabfa92456403946d17c4959d5.zip
Btrfs: use struct completion in scrub_submit_raid56_bio_wait
This changes to use struct completion directly and removes 'struct scrub_bio_ret' along with the code using it. This struct is used to get the return value from bio, but the caller can access bio to get the return value directly and is holding a reference on it so it won't go away underneath us and can be removed safely. Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tree-checker.c')
0 files changed, 0 insertions, 0 deletions