Skip to content
Commit d401727e authored by Al Viro's avatar Al Viro
Browse files

devtmpfs: don't mix {ramfs,shmem}_fill_super() with mount_single()



Create an internal-only type matching the current devtmpfs, never
register it and have one kernel-internal mount done.  That thing
gets mounted only once, so it is free to use mount_nodev().

The "public" devtmpfs (the one we do register, and only after
the internal mount of the real thing is done) simply gets and
returns an extra reference to the internal superblock.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 5a2be128
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