summaryrefslogtreecommitdiff
path: root/mkfs
diff options
context:
space:
mode:
authorAxel Burri <axel@tty0.ch>2018-05-15 17:22:14 +0200
committerDavid Sterba <dsterba@suse.com>2018-06-07 16:37:40 +0200
commit09827a8a332fdb1b74f4e103b8b72b0b800b5d72 (patch)
tree62e7c938dfaa7344c4a874abb9acc9c685a820e4 /mkfs
parentad6973647e421b2ae03deca3d55e73b3543796f4 (diff)
btrfs-progs: fix regression preventing send -p with subvolumes mounted on "/"
Fix subvol_strip_mountpoint for mnt="/" (len=1). In this case, skip check for trailing slash on full_path (leading slash on full_path is already asserted by strncmp). Issue: #122 Pull-request: #138 Fixes: c5dc299aff6b ("btrfs-progs: prevent incorrect use of subvol_strip_mountpoint") Signed-off-by: Axel Burri <axel@tty0.ch> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'mkfs')
0 files changed, 0 insertions, 0 deletions