fs: make locally used function get_mtab_entry_by_path static
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
8a81eab846
commit
2c2fb6a947
2
fs/fs.c
2
fs/fs.c
|
@ -170,7 +170,7 @@ EXPORT_SYMBOL(normalise_path);
|
||||||
LIST_HEAD(mtab_list);
|
LIST_HEAD(mtab_list);
|
||||||
static struct mtab_entry *mtab_root;
|
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;
|
struct mtab_entry *e = NULL;
|
||||||
char *path, *tok;
|
char *path, *tok;
|
||||||
|
|
|
@ -150,7 +150,6 @@ char *mkmodestr(unsigned long mode, char *str);
|
||||||
* Note that we only support mounting on directories lying
|
* Note that we only support mounting on directories lying
|
||||||
* directly in / and of course the root directory itself
|
* 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);
|
const char *fsdev_get_mountpoint(struct fs_device_d *fsdev);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue