Commit 0f60f240d522772467c7d2cebedb910748c78ed4

Authored by David Howells
Committed by Al Viro
1 parent 69b195be51

FS: lookup_mnt() is only used in the core fs routines now

lookup_mnt() is only used in the core fs routines now, so it doesn't need to
be globally declared anymore.  It isn't exported to modules at the moment, so
nothing that can be modularised seems to be using it.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Showing 2 changed files with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -64,6 +64,7 @@
64 64  
65 65 extern unsigned int mnt_get_count(struct vfsmount *mnt);
66 66 extern struct vfsmount *__lookup_mnt(struct vfsmount *, struct dentry *, int);
  67 +extern struct vfsmount *lookup_mnt(struct path *);
67 68 extern void mnt_set_mountpoint(struct vfsmount *, struct dentry *,
68 69 struct vfsmount *);
69 70 extern void release_mounts(struct list_head *);
include/linux/dcache.h
... ... @@ -416,7 +416,6 @@
416 416 return dentry->d_flags & DCACHE_MOUNTED;
417 417 }
418 418  
419   -extern struct vfsmount *lookup_mnt(struct path *);
420 419 extern struct dentry *lookup_create(struct nameidata *nd, int is_dir);
421 420  
422 421 extern int sysctl_vfs_cache_pressure;