diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-08-17 15:28:15 +0800 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-09-05 03:22:14 +0800 |
commit | 1483f45879c6676eebc3cd4298393aec2af105e6 (patch) | |
tree | 66f55fe95bff8ede38aada8dc366271a967561f0 /include/fs.h | |
parent | c3defd050428c14e956f56810b80cf7a1343f962 (diff) | |
download | barebox-1483f45879c6676eebc3cd4298393aec2af105e6.tar.gz barebox-1483f45879c6676eebc3cd4298393aec2af105e6.tar.xz |
fs: introduce get_mounted_path to get the path where a file is mounted
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'include/fs.h')
-rw-r--r-- | include/fs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/fs.h b/include/fs.h index 07976d2795..2c8b13b777 100644 --- a/include/fs.h +++ b/include/fs.h @@ -168,6 +168,8 @@ void *read_file(const char *filename, size_t *size); char *normalise_path(const char *path); char *normalise_link(const char *pathname, const char* symlink); +char *get_mounted_path(const char *path); + /* Register a new filesystem driver */ int register_fs_driver(struct fs_driver_d *fsdrv); |