diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-22 11:41:20 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-07-31 08:17:54 +0200 |
commit | 5fee64fcde0770c41e926ff981022eaa512d8980 (patch) | |
tree | 8519259e205878577de5fb440870457c5a989b4e /fs/internal.h | |
parent | 83ff98c3e9cd2b82b4289e185f2ce7d635a9cbd3 (diff) | |
download | linux-5fee64fcde0770c41e926ff981022eaa512d8980.tar.gz linux-5fee64fcde0770c41e926ff981022eaa512d8980.tar.bz2 linux-5fee64fcde0770c41e926ff981022eaa512d8980.zip |
init: add an init_mknod helper
Add a simple helper to mknod with a kernel space file name and switch
the early init code over to it. Remove the now unused ksys_mknod.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/internal.h')
-rw-r--r-- | fs/internal.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/internal.h b/fs/internal.h index 4741e591e923..07e145b2f88c 100644 --- a/fs/internal.h +++ b/fs/internal.h @@ -62,8 +62,6 @@ extern int filename_lookup(int dfd, struct filename *name, unsigned flags, struct path *path, struct path *root); extern int vfs_path_lookup(struct dentry *, struct vfsmount *, const char *, unsigned int, struct path *); -long do_mknodat(int dfd, const char __user *filename, umode_t mode, - unsigned int dev); long do_rmdir(int dfd, struct filename *name); long do_unlinkat(int dfd, struct filename *name); int may_linkat(struct path *link); |