mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 17:44:14 +08:00
btrfs: replace u_long type cast with unsigned long
We don't use the u_XX types anywhere, though they're defined. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
eeb6f17200
commit
1db45a35f0
@ -6194,8 +6194,8 @@ static void submit_stripe_bio(struct btrfs_bio *bbio, struct bio *bio,
|
||||
btrfs_debug_in_rcu(fs_info,
|
||||
"btrfs_map_bio: rw %d 0x%x, sector=%llu, dev=%lu (%s id %llu), size=%u",
|
||||
bio_op(bio), bio->bi_opf, (u64)bio->bi_iter.bi_sector,
|
||||
(u_long)dev->bdev->bd_dev, rcu_str_deref(dev->name), dev->devid,
|
||||
bio->bi_iter.bi_size);
|
||||
(unsigned long)dev->bdev->bd_dev, rcu_str_deref(dev->name),
|
||||
dev->devid, bio->bi_iter.bi_size);
|
||||
bio_set_dev(bio, dev->bdev);
|
||||
|
||||
btrfs_bio_counter_inc_noblocked(fs_info);
|
||||
|
Loading…
Reference in New Issue
Block a user