Skip to content
Commit f0735310 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Al Viro
Browse files

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: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 235e5793
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment