summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2013-07-15 13:30:54 +0800
committerDavid Sterba <dsterba@suse.cz>2013-08-09 14:32:37 +0200
commitb3a9a3c94ad254df681d06b0a2be2e41362cce49 (patch)
tree1ca7c90dcd5cdbe1457ee89a574713f0471ebf14 /utils.h
parentb8e23d4fb268152447761a9855d0afc75065215f (diff)
btrfs-progs: get_label_mounted to return label instead of print
This would help to reuse the function Signed-off-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils.h b/utils.h
index 79390cfb..13c95445 100644
--- a/utils.h
+++ b/utils.h
@@ -78,4 +78,5 @@ u64 btrfs_device_size(int fd, struct stat *st);
#define strncpy_null(dest, src) __strncpy__null(dest, src, sizeof(dest))
int test_dev_for_mkfs(char *file, int force_overwrite, char *estr);
int scan_for_btrfs(int where, int update_kernel);
+int get_label_mounted(const char *mount_path, char *labelp);
#endif