diff options
author | Anand Jain <anand.jain@oracle.com> | 2016-03-21 15:21:05 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-03-30 16:25:33 +0200 |
commit | 37288902fca5a3662620de544eca9dd3b6d6964b (patch) | |
tree | d9c7bea445eba11d1ac86ba85cc89ca71a7747c4 /utils.c | |
parent | e494f5790fcbe401b4b0d171ae5575991670b790 (diff) |
btrfs-progs: rename get_subvol_name() to subvol_strip_mountpoint()
Signed-off-by: Anand Jain <anand.jain@oracle.com>
[ renamed from subvol_minus_mnt to subvol_strip_mountpoint ]
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'utils.c')
-rw-r--r-- | utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3160,7 +3160,7 @@ int test_issubvolume(const char *path) return (int)stfs.f_type == BTRFS_SUPER_MAGIC; } -char *get_subvol_name(char *mnt, char *full_path) +char *subvol_strip_mountpoint(char *mnt, char *full_path) { int len = strlen(mnt); if (!len) @@ -3206,7 +3206,7 @@ int get_subvol_info(char *fullpath, struct root_info *get_ri) return 1; } ret = 1; - svpath = get_subvol_name(mnt, fullpath); + svpath = subvol_strip_mountpoint(mnt, fullpath); fd = btrfs_open_dir(fullpath, &dirstream1, 1); if (fd < 0) |