From: johann Date: Fri, 23 Nov 2007 08:45:43 +0000 (+0000) Subject: Branch HEAD X-Git-Tag: v1_7_0_51~470 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=4c2334a23ad6298cfa890c9c5ba3434d4f69ebdb;p=fs%2Flustre-release.git Branch HEAD b=14022 i=tianzy i=andrew By default, enable/disable quotas for both user & group. --- diff --git a/lustre/utils/lfs.c b/lustre/utils/lfs.c index 50ba49e..4f18d25 100644 --- a/lustre/utils/lfs.c +++ b/lustre/utils/lfs.c @@ -1136,6 +1136,8 @@ static int lfs_quotaon(int argc, char **argv) if (qctl.qc_type) qctl.qc_type--; + else /* by default, enable quota for both user & group */ + qctl.qc_type = 0x02; if (argc == optind) return CMD_HELP; @@ -1183,6 +1185,8 @@ static int lfs_quotaoff(int argc, char **argv) if (qctl.qc_type) qctl.qc_type--; + else /* by default, disable quota for both user & group */ + qctl.qc_type = 0x02; if (argc == optind) return CMD_HELP;