diff options
author | Anand Jain <Anand.Jain@oracle.com> | 2013-10-22 13:53:21 +0800 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-10-24 05:57:44 -0400 |
commit | 811e993db4f447e577c87fb2a0539eb723798685 (patch) | |
tree | 34d9cc767ce54beedd5488d03e0872ee7d3041c3 /utils.h | |
parent | f3fb0020517838993d643fcee1987db918848979 (diff) |
btrfs-progs: make get_btrfs_mount callable
get_btrfs_mount is reusable function but it is printing
errors, this removes it. Here the parent function of
open_path_or_dev_mnt does print error msg on error.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -91,5 +91,6 @@ int csum_tree_block(struct btrfs_root *root, struct extent_buffer *buf, int ask_user(char *question); int lookup_ino_rootid(int fd, u64 *rootid); int btrfs_scan_lblkid(int update_kernel); +int get_btrfs_mount(const char *dev, char *mp, size_t mp_size); #endif |