From: yury Date: Tue, 21 Oct 2008 15:58:19 +0000 (+0000) Subject: b=17353 X-Git-Tag: v1_7_130~1^32~2 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=cf6c45c7847d6dca86e4151618f888ada142b797;p=fs%2Flustre-release.git b=17353 r=shadow,wangdi - fixed llog issue leading to potential data loss on OST. --- diff --git a/lustre/lov/lov_log.c b/lustre/lov/lov_log.c index 9fc3e79..a564410 100644 --- a/lustre/lov/lov_log.c +++ b/lustre/lov/lov_log.c @@ -68,9 +68,9 @@ * we need to keep cookies in stripe order, even if some are NULL, so that * the right cookies are passed back to the right OSTs at the client side. * Unset cookies should be all-zero (which will never occur naturally). */ -static int lov_llog_origin_add(struct llog_ctxt *ctxt, - struct llog_rec_hdr *rec, struct lov_stripe_md *lsm, - struct llog_cookie *logcookies, int numcookies) +static int lov_llog_origin_add(struct llog_ctxt *ctxt, struct llog_rec_hdr *rec, + struct lov_stripe_md *lsm, + struct llog_cookie *logcookies, int numcookies) { struct obd_device *obd = ctxt->loc_obd; struct lov_obd *lov = &obd->u.lov;