From: anserper Date: Sun, 8 Jun 2008 16:46:13 +0000 (+0000) Subject: Branch b1_6 X-Git-Tag: GIT_EPOCH_B_RELEASE_1_6_7~2^3~576 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=5abe91ef3ecf79646b22fe39f11c7a5bec2f94b1;p=fs%2Flustre-release.git Branch b1_6 b=15779 i=Johann i=ZhiYong Do not LBUG when different versions of lquota.ko and fsfilt_ldiskfs.ko used --- diff --git a/lustre/lvfs/fsfilt_ext3.c b/lustre/lvfs/fsfilt_ext3.c index d134000..d0e1f88 100644 --- a/lustre/lvfs/fsfilt_ext3.c +++ b/lustre/lvfs/fsfilt_ext3.c @@ -2085,8 +2085,10 @@ static int fsfilt_ext3_quotainfo(struct lustre_quota_info *lqi, int type, rc = lustre_quota_convert(lqi, type); break; default: - CERROR("Unsupported admin quota file cmd %d\n", cmd); - LBUG(); + rc = -ENOTSUPP; + CERROR("Unsupported admin quota file cmd %d\n" + "Are lquota.ko and fsfilt_ldiskfs.ko modules in sync?\n", + cmd); break; } RETURN(rc);