diff options
author | Christoph Hellwig <hch@lst.de> | 2017-11-04 11:44:45 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-11-10 14:48:46 +0100 |
commit | da2f1362c8bdf187c171a59a2c84b8ed3566d5fe (patch) | |
tree | 44159235d3573de42f02e6baa94649a3f5cc0639 /fs/internal.h | |
parent | ext4: take handling of EXT4_IOC_GROUP_ADD into a helper, get rid of set_fs() (diff) | |
download | linux-da2f1362c8bdf187c171a59a2c84b8ed3566d5fe.tar.xz linux-da2f1362c8bdf187c171a59a2c84b8ed3566d5fe.zip |
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.h | 1 |
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 |