Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1569eb
)
Branch HEAD
author
johann
<johann>
Fri, 23 Nov 2007 08:45:43 +0000
(08:45 +0000)
committer
johann
<johann>
Fri, 23 Nov 2007 08:45:43 +0000
(08:45 +0000)
b=14022
i=tianzy
i=andrew
By default, enable/disable quotas for both user & group.
lustre/utils/lfs.c
patch
|
blob
|
history
diff --git
a/lustre/utils/lfs.c
b/lustre/utils/lfs.c
index
50ba49e
..
4f18d25
100644
(file)
--- 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;