Whamcloud - gitweb
- typo fix
authorniu <niu>
Thu, 29 Dec 2005 06:32:12 +0000 (06:32 +0000)
committerniu <niu>
Thu, 29 Dec 2005 06:32:12 +0000 (06:32 +0000)
- message format fix for 'lfs quota -t'

lustre/mdc/mdc_request.c
lustre/utils/lfs.c

index 5f78fa9..4cb7bb5 100644 (file)
@@ -1311,7 +1311,7 @@ int __init mdc_init(void)
         rc = class_register_type(&mdc_obd_ops, lvars.module_vars,
                                  LUSTRE_MDC_NAME);
         if (rc && quota_interface)
-                PORTAL_SYMBOL_PUT(osc_quota_interface);
+                PORTAL_SYMBOL_PUT(mdc_quota_interface);
 
         RETURN(rc);
 }
index 25a1cc4..a47e609 100644 (file)
@@ -1065,7 +1065,7 @@ static int lfs_quota(int argc, char **argv)
 
         print_quota(mnt, &qctl, 0);
 
-        if (!*obd_uuid) {
+        if (!*obd_uuid && qctl.qc_cmd != LUSTRE_Q_GETINFO) {
                 print_mds_quota(mnt, &qctl);
                 print_lov_quota(mnt, &qctl);
         }