From b03d2d7bd5f27c8dc133831771174d30d84310e9 Mon Sep 17 00:00:00 2001 From: jxiong Date: Thu, 15 Oct 2009 02:07:16 +0000 Subject: [PATCH] b=20394 r=tappro,rread Fix an over-strict assertion --- lustre/obdfilter/filter.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lustre/obdfilter/filter.c b/lustre/obdfilter/filter.c index 6f9cb5b..f4b9cbd 100644 --- a/lustre/obdfilter/filter.c +++ b/lustre/obdfilter/filter.c @@ -146,10 +146,8 @@ int filter_finish_transno(struct obd_export *exp, struct inode *inode, cpu_to_le64(last_rcvd); } oti->oti_transno = last_rcvd; - if (last_rcvd <= le64_to_cpu(lcd->lcd_last_transno)) { - spin_unlock(&filter->fo_translock); - LBUG(); - } + + LASSERT(last_rcvd >= le64_to_cpu(lcd->lcd_last_transno)); lcd->lcd_last_transno = cpu_to_le64(last_rcvd); lcd->lcd_pre_versions[0] = cpu_to_le64(oti->oti_pre_version); lcd->lcd_last_xid = cpu_to_le64(oti->oti_xid); -- 1.8.3.1