From: Omar Sandoval <osandov@fb.com>
To: <linux-btrfs@vger.kernel.org>
Cc: Omar Sandoval <osandov@fb.com>
Subject: [PATCH 0/2] btrfs device remove alias
Date: Wed, 24 Jun 2015 09:09:15 -0700 [thread overview]
Message-ID: <cover.1435161735.git.osandov@fb.com> (raw)
The opposite of btrfs device add is btrfs device delete. This really
should be btrfs device remove.
Changes from v1:
- Add support for flags to cmd_struct and a CMD_ALIAS flag which only
prints the one-line usage string
- Rearrange the command wrappers in a way that could be made generic if
needed
Thanks!
Omar Sandoval (2):
btrfs-progs: replace struct cmd_group->hidden with flags
btrfs-progs: alias btrfs device delete to btrfs device remove
Documentation/btrfs-device.asciidoc | 5 ++++-
cmds-device.c | 35 ++++++++++++++++++++++++++---------
cmds-filesystem.c | 2 +-
commands.h | 9 +++++++--
help.c | 12 +++++++-----
5 files changed, 45 insertions(+), 18 deletions(-)
--
2.4.4
next reply other threads:[~2015-06-24 16:09 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-24 16:09 Omar Sandoval [this message]
2015-06-24 16:09 ` [PATCH 1/2] btrfs-progs: replace struct cmd_group->hidden with flags Omar Sandoval
2015-06-26 14:34 ` David Sterba
2015-06-24 16:09 ` [PATCH 2/2] btrfs-progs: alias btrfs device delete to btrfs device remove Omar Sandoval
2015-06-26 14:46 ` David Sterba
2015-06-25 4:06 ` [PATCH 0/2] btrfs device remove alias Duncan
2015-06-25 13:41 ` David Sterba
2015-06-25 13:45 ` Chris Mason
2015-06-26 1:10 ` Anand Jain
2015-06-26 4:21 ` Duncan
2015-06-26 13:33 ` David Sterba
2015-06-27 11:38 ` Goffredo Baroncelli
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=cover.1435161735.git.osandov@fb.com \
--to=osandov@fb.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