From: Anand Jain <anand.jain@oracle.com>
To: linux-btrfs@vger.kernel.org
Cc: dsterba@suse.cz, clm@fb.com
Subject: [PATCH RFC] Make add and device ioctls device path len consistent
Date: Thu, 18 Feb 2016 16:07:15 +0800 [thread overview]
Message-ID: <1455782837-15630-1-git-send-email-anand.jain@oracle.com> (raw)
Just in case if need to fix it properly, this patch helps.
Its a bit of overkill though, on the basis of being theoretically
correct. As discussed, this or Chris suggested to use simpler
BTRFS_SUBVOL_NAME_MAX will fix equally from practical perspective.
This patch is ontop the patch
btrfs: Introduce device delete by devid
btrfs-progs: Introduce device delete by devid
respectively.
Thanks, Anand
Anand Jain (1):
btrfs: make add and device ioctl args path max consistent
fs/btrfs/ioctl.c | 2 +-
include/uapi/linux/btrfs.h | 19 ++++++++++++++++++-
2 files changed, 19 insertions(+), 2 deletions(-)
Anand Jain (1):
btrfs-progs: make add and delete path max len consistent
cmds-device.c | 2 +-
ioctl.h | 19 ++++++++++++++++++-
2 files changed, 19 insertions(+), 2 deletions(-)
--
2.7.0
next reply other threads:[~2016-02-18 8:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-18 8:07 Anand Jain [this message]
2016-02-18 8:07 ` [PATCH RFC] btrfs: make add and device ioctl args path max consistent Anand Jain
2016-02-18 8:07 ` [PATCH RFC] btrfs-progs: make add and delete path max len consistent Anand Jain
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=1455782837-15630-1-git-send-email-anand.jain@oracle.com \
--to=anand.jain@oracle.com \
--cc=clm@fb.com \
--cc=dsterba@suse.cz \
--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).