diff options
author | Anand Jain <anand.jain@oracle.com> | 2013-01-24 18:05:14 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2013-01-25 22:45:39 +0100 |
commit | bbb9e4b419486dc6eb8dab3cb3ad446c1f5770d3 (patch) | |
tree | 6500eee9008729dc4b60591fd75c7d99fe54ecf3 /btrfs-vol.c | |
parent | af7c373fdf08c2345acf319223b2edba41f977b6 (diff) |
Btrfs-progs: we need to have the string null terminated
Bug:
-------------
btrfs subvolume list / -a
ID 258 gen 4226 top level 384 path media/smbshare
::
btrfs subvolume list /home -a
ID 258 gen 4226 top level 5 path <FS_TREE>/__active/media/smbshare4.snap
In the first command's output, this path is printed correctly, however
in the second output it has "4.snap" appended, similar to the names of
the snapshots I made 22 hours ago.
------------
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reported-by: Brendan Hide <brendan@swiftspirit.co.za>
Diffstat (limited to 'btrfs-vol.c')
0 files changed, 0 insertions, 0 deletions