diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2019-06-01 18:43:09 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-09-05 14:34:27 -0400 |
commit | d401727ea0d7a48eaa01a8089f6b91a8121dcaac (patch) | |
tree | 5c85418a1c63fc7892085a5fc54f705c4dffd4dd /fs/ramfs | |
parent | 5a2be1288b514d74acdb3f0131d4d8fa3d689f06 (diff) |
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: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ramfs')
0 files changed, 0 insertions, 0 deletions