Skip to content
Commit 3a9508b0 authored by Chris Mason's avatar Chris Mason
Browse files

btrfs: fix compile when block cgroups are not enabled



bio->bi_css and bio->bi_ioc don't exist when block cgroups are not on.
This adds an ifdef around them.  It's not perfect, but our
use of bi_ioc is being removed in the 4.3 merge window.

The bi_css usage really should go into bio_clone, but I want to make
sure that doesn't introduce problems for other bio_clone use cases.

Signed-off-by: default avatarChris Mason <clm@fb.com>
parent b84b8390
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