[PATCH 06/18] fs: introduce get_mounted_path to get the path where a file is mounted

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sat Sep 1 06:37:04 EDT 2012


On 15:53 Mon 27 Aug     , Sascha Hauer wrote:
> On Fri, Aug 24, 2012 at 06:50:06AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> > ---
> >  fs/fs.c      |    9 +++++++++
> >  include/fs.h |    2 ++
> >  2 files changed, 11 insertions(+)
> > 
> > diff --git a/fs/fs.c b/fs/fs.c
> > index ca6340c..8ec368c 100644
> > --- a/fs/fs.c
> > +++ b/fs/fs.c
> > @@ -242,6 +242,15 @@ static struct fs_device_d *get_fsdevice_by_path(const char *path)
> >  	return fs_dev_root;
> >  }
> >  
> > +char* get_mounted_path(const char *path)
> 
> char *get_mounted_path
yeap

Best Regards,
J.



More information about the barebox mailing list