From: Anand Jain <anand.jain@oracle.com>
To: linux-btrfs@vger.kernel.org
Subject: [PATCH 3/3] btrfs-progs: qgroup destroy says create failed
Date: Mon, 2 Dec 2013 14:11:55 +0800 [thread overview]
Message-ID: <1385964715-23355-3-git-send-email-anand.jain@oracle.com> (raw)
In-Reply-To: <1385964715-23355-1-git-send-email-anand.jain@oracle.com>
Signed-off-by: Anand Jain <anand.jain@oracle.com>
---
cmds-qgroup.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmds-qgroup.c b/cmds-qgroup.c
index 5a393bd..957fbc9 100644
--- a/cmds-qgroup.c
+++ b/cmds-qgroup.c
@@ -99,8 +99,8 @@ static int qgroup_create(int create, int argc, char **argv)
e = errno;
close_file_or_dir(fd, dirstream);
if (ret < 0) {
- fprintf(stderr, "ERROR: unable to create quota group: %s\n",
- strerror(e));
+ fprintf(stderr, "ERROR: unable to %s quota group: %s\n",
+ create ? "create":"destroy", strerror(e));
return 1;
}
return 0;
--
1.7.1
prev parent reply other threads:[~2013-12-02 6:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-02 6:11 [PATCH 1/3] btrfs-progs: Turning ON incompat isn't an error Anand Jain
2013-12-02 6:11 ` [PATCH 2/3] btrfs-progs: fix backref after init-csum-tree Anand Jain
2013-12-02 6:12 ` Anand Jain
2013-12-02 6:11 ` Anand Jain [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1385964715-23355-3-git-send-email-anand.jain@oracle.com \
--to=anand.jain@oracle.com \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).