Whamcloud - gitweb
Branch b1_6
authoranserper <anserper>
Sun, 8 Jun 2008 16:46:13 +0000 (16:46 +0000)
committeranserper <anserper>
Sun, 8 Jun 2008 16:46:13 +0000 (16:46 +0000)
b=15779
i=Johann
i=ZhiYong

Do not LBUG when different versions of lquota.ko and fsfilt_ldiskfs.ko used

lustre/lvfs/fsfilt_ext3.c

index d134000..d0e1f88 100644 (file)
@@ -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);