commit | f073531070d24bbb82cb2658952d949f4851024b | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Jul 28 17:49:47 2020 +0200 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Aug 04 21:02:38 2020 -0400 |
tree | 064d6a4ec00df1fe854f6266e6e14432126ca2c8 | |
parent | 235e57935bf328c4cce371ffc4dd1d8fab4885cd [diff] |
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>