diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-28 18:49:47 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-08-05 04:02:38 +0300 |
commit | f073531070d24bbb82cb2658952d949f4851024b (patch) | |
tree | 064d6a4ec00df1fe854f6266e6e14432126ca2c8 /init/do_mounts_initrd.c | |
parent | 235e57935bf328c4cce371ffc4dd1d8fab4885cd (diff) | |
download | linux-f073531070d24bbb82cb2658952d949f4851024b.tar.xz |
init: add an init_dup helper
Add a simple helper to grab a reference to a file and install it at
the next available fd, and switch the early init code over to it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'init/do_mounts_initrd.c')
0 files changed, 0 insertions, 0 deletions