Move common mknod_ptmx() calls into caller
We create 'ptmx' node in both single-instance and multiple-instance mounts. So devpts_get_sb() can call mknod_ptmx() once rather than have both modes calling mknod_ptmx() separately. Signed-off-by:Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> Acked-by:
Serge Hallyn <serue@us.ibm.com> Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>
Showing
Please register or sign in to comment