[PATCH 04/12] fs: make locally used function get_mtab_entry_by_path static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
---
 fs/fs.c      |    2 +-
 include/fs.h |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/fs/fs.c b/fs/fs.c
index 3dfbaaa..afa0198 100644
--- a/fs/fs.c
+++ b/fs/fs.c
@@ -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 dd10677..d31fb20 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);
 
 /*
-- 
1.7.9


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux