[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1301554001-29133-1-git-send-email-panweiping3@gmail.com>
Date: Thu, 31 Mar 2011 14:46:41 +0800
From: Pan Weiping <panweiping3@...il.com>
To: unlisted-recipients:; (no To-header on input)
Cc: Pan Weiping <panweiping3@...il.com>,
Boaz Harrosh <bharrosh@...asas.com> (maintainer:OSD LIBRARY and
F...),
Benny Halevy <bhalevy@...asas.com> (maintainer:OSD LIBRARY and F...),
osd-dev@...n-osd.org (open list:OSD LIBRARY and F...),
linux-kernel@...r.kernel.org (open list)
Subject: [PATCH 3/3] exofs:typo correction
use accumulated_osd_erry instead of acumulated_osd_err.
use accumulated_lin_err instead of acumulated_lin_err.
Signed-off-by: Pan Weiping <panweiping3@...il.com>
---
fs/exofs/ios.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/fs/exofs/ios.c b/fs/exofs/ios.c
index f74a2ec..cf0858e 100644
--- a/fs/exofs/ios.c
+++ b/fs/exofs/ios.c
@@ -216,8 +216,8 @@ static void _clear_bio(struct bio *bio)
int exofs_check_io(struct exofs_io_state *ios, u64 *resid)
{
- enum osd_err_priority acumulated_osd_err = 0;
- int acumulated_lin_err = 0;
+ enum osd_err_priority accumulated_osd_erry = 0;
+ int accumulated_lin_err = 0;
int i;
for (i = 0; i < ios->numdevs; i++) {
@@ -243,21 +243,21 @@ int exofs_check_io(struct exofs_io_state *ios, u64 *resid)
continue; /* we recovered */
}
- if (osi.osd_err_pri >= acumulated_osd_err) {
- acumulated_osd_err = osi.osd_err_pri;
- acumulated_lin_err = ret;
+ if (osi.osd_err_pri >= accumulated_osd_erry) {
+ accumulated_osd_erry = osi.osd_err_pri;
+ accumulated_lin_err = ret;
}
}
/* TODO: raid specific residual calculations */
if (resid) {
- if (likely(!acumulated_lin_err))
+ if (likely(!accumulated_lin_err))
*resid = 0;
else
*resid = ios->length;
}
- return acumulated_lin_err;
+ return accumulated_lin_err;
}
/*
--
1.7.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists