summaryrefslogtreecommitdiffstats
path: root/include/linux/namei.h
diff options
context:
space:
mode:
authorJan Blunck <jblunck@suse.de>2008-02-14 19:34:31 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-14 21:13:32 -0800
commit429731b1553bacf9a331c260c317a28aaa878edb (patch)
treed9feaea03f5abe2eb3ac6a40cbd4e4e3b4638e6a /include/linux/namei.h
parentdb74ece990ea59a9ec9f00f8881026059ef5caf5 (diff)
downloadkernel-crypto-429731b1553bacf9a331c260c317a28aaa878edb.tar.gz
kernel-crypto-429731b1553bacf9a331c260c317a28aaa878edb.tar.xz
kernel-crypto-429731b1553bacf9a331c260c317a28aaa878edb.zip
Remove path_release_on_umount()
path_release_on_umount() should only be called from sys_umount(). I merged the function into sys_umount() instead of having in in namei.c. Signed-off-by: Jan Blunck <jblunck@suse.de> Acked-by: Christoph Hellwig <hch@lst.de> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/namei.h')
-rw-r--r--include/linux/namei.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/namei.h b/include/linux/namei.h
index c13e411491f..307b1b31d37 100644
--- a/include/linux/namei.h
+++ b/include/linux/namei.h
@@ -72,7 +72,6 @@ extern int path_lookup(const char *, unsigned, struct nameidata *);
extern int vfs_path_lookup(struct dentry *, struct vfsmount *,
const char *, unsigned int, struct nameidata *);
extern void path_release(struct nameidata *);
-extern void path_release_on_umount(struct nameidata *);
extern int __user_path_lookup_open(const char __user *, unsigned lookup_flags, struct nameidata *nd, int open_flags);
extern int path_lookup_open(int dfd, const char *name, unsigned lookup_flags, struct nameidata *, int open_flags);