diff options
author | Mike Christie <mchristi@redhat.com> | 2016-06-05 14:32:21 -0500 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-06-07 13:41:38 -0600 |
commit | 6296b9604fcebc2dd8d6ec396de80b2da84d9700 (patch) | |
tree | 52f4fdb2d5024425b722a06ed55e12b82d8f752b /fs/btrfs/inode.c | |
parent | 43b62ce3ff0ac1f13b732cb1bd130f522af1dba4 (diff) | |
download | op-kernel-dev-6296b9604fcebc2dd8d6ec396de80b2da84d9700.zip op-kernel-dev-6296b9604fcebc2dd8d6ec396de80b2da84d9700.tar.gz |
block, drivers, fs: shrink bi_rw from long to int
We don't need bi_rw to be so large on 64 bit archs, so
reduce it to unsigned int.
Signed-off-by: Mike Christie <mchristi@redhat.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index ec61db6..1323e4f 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -8184,7 +8184,7 @@ static void btrfs_end_dio_bio(struct bio *bio) if (err) btrfs_warn(BTRFS_I(dip->inode)->root->fs_info, - "direct IO failed ino %llu rw %d,%lu sector %#Lx len %u err no %d", + "direct IO failed ino %llu rw %d,%u sector %#Lx len %u err no %d", btrfs_ino(dip->inode), bio_op(bio), bio->bi_rw, (unsigned long long)bio->bi_iter.bi_sector, bio->bi_iter.bi_size, err); |