From 9736afe52abcbaf82d7a8d7d71d5aefa91c77d41 Mon Sep 17 00:00:00 2001 From: johann Date: Fri, 22 May 2009 21:58:05 +0000 Subject: [PATCH] Branch b1_8 b=19612 fix broken commit. --- lustre/utils/lfs.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lustre/utils/lfs.c b/lustre/utils/lfs.c index 370b0d1..e288707 100644 --- a/lustre/utils/lfs.c +++ b/lustre/utils/lfs.c @@ -1723,11 +1723,6 @@ int lfs_setquota_times(int argc, char **argv) return CMD_HELP; } - if (limit_mask == 0) { - fprintf(stderr, "error: at least one limit must be specified\n"); - return CMD_HELP; - } - if (optind != argc - 1) { fprintf(stderr, "error: unexpected parameters encountered\n"); return CMD_HELP; @@ -1858,6 +1853,11 @@ int lfs_setquota(int argc, char **argv) return CMD_HELP; } + if (limit_mask == 0) { + fprintf(stderr, "error: at least one limit must be specified\n"); + return CMD_HELP; + } + if (optind != argc - 1) { fprintf(stderr, "error: unexpected parameters encountered\n"); return CMD_HELP; -- 1.8.3.1