diff options
author | Qu Wenruo <quwenruo@cn.fujitsu.com> | 2014-02-10 15:28:28 +0800 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-03-21 06:23:12 -0700 |
commit | 14ef4f569572ad34254186f1a503c39b735cc167 (patch) | |
tree | a14bb06a2be13be0747761f87fc3cc9b67256c4c /utils.h | |
parent | e7839bced72b27bddefe3dbc8ffbcd640edae509 (diff) |
btrfs-progs: move find_mount_root to utils.[ch]
Move find_mount_root to utils.[ch] for general use.
Signed-off-by: Qu Wenruo <quwenruo@cn.fuijitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -96,5 +96,6 @@ 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); +int find_mount_root(const char *path, char **mount_root); #endif |