diff options
| author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-04-19 12:17:29 -0400 |
|---|---|---|
| committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-04-19 12:17:29 -0400 |
| commit | adf6d34e460387ee3e8f1e1875d52bff51212c7d (patch) | |
| tree | 88ef100143e6184103a608f82dfd232bf6376eaf /drivers/md/dm-raid1.c | |
| parent | d1964dab60ce7c104dd21590e987a8787db18051 (diff) | |
| parent | 3760d31f11bfbd0ead9eaeb8573e0602437a9d7c (diff) | |
Merge branch 'omap2-upstream' into devel
Diffstat (limited to 'drivers/md/dm-raid1.c')
| -rw-r--r-- | drivers/md/dm-raid1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/dm-raid1.c b/drivers/md/dm-raid1.c index 51605870f898..762cb086bb7f 100644 --- a/drivers/md/dm-raid1.c +++ b/drivers/md/dm-raid1.c | |||
| @@ -753,7 +753,7 @@ out: | |||
| 753 | * are in the no-sync state. We have to recover these by | 753 | * are in the no-sync state. We have to recover these by |
| 754 | * recopying from the default mirror to all the others. | 754 | * recopying from the default mirror to all the others. |
| 755 | *---------------------------------------------------------------*/ | 755 | *---------------------------------------------------------------*/ |
| 756 | static void recovery_complete(int read_err, unsigned int write_err, | 756 | static void recovery_complete(int read_err, unsigned long write_err, |
| 757 | void *context) | 757 | void *context) |
| 758 | { | 758 | { |
| 759 | struct region *reg = (struct region *)context; | 759 | struct region *reg = (struct region *)context; |
| @@ -767,7 +767,7 @@ static void recovery_complete(int read_err, unsigned int write_err, | |||
| 767 | } | 767 | } |
| 768 | 768 | ||
| 769 | if (write_err) { | 769 | if (write_err) { |
| 770 | DMERR_LIMIT("Write error during recovery (error = 0x%x)", | 770 | DMERR_LIMIT("Write error during recovery (error = 0x%lx)", |
| 771 | write_err); | 771 | write_err); |
| 772 | /* | 772 | /* |
| 773 | * Bits correspond to devices (excluding default mirror). | 773 | * Bits correspond to devices (excluding default mirror). |
