diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-09-24 14:23:05 -0400 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-10-03 19:14:58 -0400 |
commit | 1b6e44690d2283e49c9e967d6a1739aac8490672 (patch) | |
tree | efbf0dde1d1908b911323ce79ca69c4dc90914f6 /fs/btrfs | |
parent | 8146502820231da924ca22d147cdcf733ac9a057 (diff) |
Btrfs: fix compilation errors under DEBUG
bi_sector and bi_size moved to bi_iter since commit 4f024f3797c4
("block: Abstract out bvec iterator")
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r-- | fs/btrfs/volumes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index f27c0f7c387e..f61278fefdbb 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c | |||
@@ -5709,8 +5709,8 @@ static void submit_stripe_bio(struct btrfs_root *root, struct btrfs_bio *bbio, | |||
5709 | name = rcu_dereference(dev->name); | 5709 | name = rcu_dereference(dev->name); |
5710 | pr_debug("btrfs_map_bio: rw %d, sector=%llu, dev=%lu " | 5710 | pr_debug("btrfs_map_bio: rw %d, sector=%llu, dev=%lu " |
5711 | "(%s id %llu), size=%u\n", rw, | 5711 | "(%s id %llu), size=%u\n", rw, |
5712 | (u64)bio->bi_sector, (u_long)dev->bdev->bd_dev, | 5712 | (u64)bio->bi_iter.bi_sector, (u_long)dev->bdev->bd_dev, |
5713 | name->str, dev->devid, bio->bi_size); | 5713 | name->str, dev->devid, bio->bi_iter.bi_size); |
5714 | rcu_read_unlock(); | 5714 | rcu_read_unlock(); |
5715 | } | 5715 | } |
5716 | #endif | 5716 | #endif |