diff options
author | Jan Schmidt <list.btrfs@jan-o-sch.net> | 2011-11-20 07:33:38 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-11-20 07:42:14 -0500 |
commit | 32240a913d9f3a5aad42175d7696590ea1bfdb08 (patch) | |
tree | 444fa1d89ac8f58196943efecc96fe453d739de0 /fs/btrfs/extent_io.c | |
parent | 745c4d8e160afaf6c75e887c27ea4b75c8142b26 (diff) | |
download | op-kernel-dev-32240a913d9f3a5aad42175d7696590ea1bfdb08.zip op-kernel-dev-32240a913d9f3a5aad42175d7696590ea1bfdb08.tar.gz |
btrfs: mirror_num should be int, not u64
My previous patch introduced some u64 for failed_mirror variables, this one
makes it consistent again.
Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/extent_io.c')
-rw-r--r-- | fs/btrfs/extent_io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 47fdba7..a877b8b 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -2285,8 +2285,8 @@ static void end_bio_extent_readpage(struct bio *bio, int err) clean_io_failure(start, page); } if (!uptodate) { - u64 failed_mirror; - failed_mirror = (unsigned long)bio->bi_bdev; + int failed_mirror; + failed_mirror = (int)(unsigned long)bio->bi_bdev; if (tree->ops && tree->ops->readpage_io_failed_hook) ret = tree->ops->readpage_io_failed_hook( bio, page, start, end, |