summaryrefslogtreecommitdiff
path: root/print-tree.c
diff options
context:
space:
mode:
authorTARUISI Hiroaki <taruishi.hiroak@jp.fujitsu.com>2010-09-09 11:19:25 +0800
committerChris Mason <chris.mason@oracle.com>2010-09-23 20:26:49 -0400
commit48f16a69d76b2a9c946e2f3648b9f896ce8de3e7 (patch)
treed2125cb7f1544a6ecf126fb37f88c3c3b39ec33c /print-tree.c
parent34915ad27b7db0336560350fa89e340cdb4b8663 (diff)
check slash in deleting subvolumes
For now, btrfsctl does not check whether subvolume name contains slash or not. If someone specify subvolume with trailing slash (in case using shell completion), ioctl returns with EINVAL and this error may confuse some careless users like me. So, this patch adds check slashes in subvolume name in deletion same as snapshot/subvolume creating. But considering shell completion, this fix allows trailing slash. Signed-off-by: TARUISI Hiroaki <taruishi.hiroak@jp.fujitsu.com>
Diffstat (limited to 'print-tree.c')
0 files changed, 0 insertions, 0 deletions