summaryrefslogtreecommitdiffstats
path: root/fs/ramfs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2019-06-01 18:43:09 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2019-09-05 14:34:27 -0400
commitd401727ea0d7a48eaa01a8089f6b91a8121dcaac (patch)
tree5c85418a1c63fc7892085a5fc54f705c4dffd4dd /fs/ramfs
parent5a2be1288b514d74acdb3f0131d4d8fa3d689f06 (diff)
downloadlinux-d401727ea0d7a48eaa01a8089f6b91a8121dcaac.tar.gz
linux-d401727ea0d7a48eaa01a8089f6b91a8121dcaac.tar.bz2
linux-d401727ea0d7a48eaa01a8089f6b91a8121dcaac.zip
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