summaryrefslogtreecommitdiffstats
path: root/fs/internal.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-11-04 13:44:45 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2017-11-10 08:48:46 -0500
commitda2f1362c8bdf187c171a59a2c84b8ed3566d5fe (patch)
tree44159235d3573de42f02e6baa94649a3f5cc0639 /fs/internal.h
parente145b35bb97eaf86205b99feef524254c581895c (diff)
downloadlinux-da2f1362c8bdf187c171a59a2c84b8ed3566d5fe.tar.bz2
fs: expose do_unlinkat for built-in callers
And make it take a struct filename instead of a user pointer. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/internal.h')
-rw-r--r--fs/internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/internal.h b/fs/internal.h
index 48cee21b4f14..df262f41a0ef 100644
--- a/fs/internal.h
+++ b/fs/internal.h
@@ -55,6 +55,7 @@ extern void __init chrdev_init(void);
extern int user_path_mountpoint_at(int, const char __user *, unsigned int, struct path *);
extern int vfs_path_lookup(struct dentry *, struct vfsmount *,
const char *, unsigned int, struct path *);
+long do_unlinkat(int dfd, struct filename *name);
/*
* namespace.c