diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-02-11 14:45:17 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-02-17 10:27:15 +0100 |
commit | 2c2fb6a9478aea297b9458c5c312a502eea060a6 (patch) | |
tree | fd494bb929f574794bf8b4fa28da0af544b1f5d4 | |
parent | 8a81eab8463d1320585e9e1c606636701ddf57db (diff) | |
download | barebox-2c2fb6a9478aea297b9458c5c312a502eea060a6.tar.gz barebox-2c2fb6a9478aea297b9458c5c312a502eea060a6.tar.xz |
fs: make locally used function get_mtab_entry_by_path static
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | fs/fs.c | 2 | ||||
-rw-r--r-- | include/fs.h | 1 |
2 files changed, 1 insertions, 2 deletions
@@ -170,7 +170,7 @@ EXPORT_SYMBOL(normalise_path); LIST_HEAD(mtab_list); static struct mtab_entry *mtab_root; -struct mtab_entry *get_mtab_entry_by_path(const char *_path) +static struct mtab_entry *get_mtab_entry_by_path(const char *_path) { struct mtab_entry *e = NULL; char *path, *tok; diff --git a/include/fs.h b/include/fs.h index dd106770df..d31fb20522 100644 --- a/include/fs.h +++ b/include/fs.h @@ -150,7 +150,6 @@ char *mkmodestr(unsigned long mode, char *str); * Note that we only support mounting on directories lying * directly in / and of course the root directory itself */ -struct mtab_entry *get_mtab_entry_by_path(const char *path); const char *fsdev_get_mountpoint(struct fs_device_d *fsdev); /* |