summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authoryangerkun <yangerkun@huawei.com>2021-11-08 18:34:24 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2021-11-09 10:02:51 -0800
commit0858d7da8a09e440fb192a0239d20249a2d16af8 (patch)
treecf7e1964e9da8059da5db1242bf69839390d81cd /init
parent2d93a5835a37684bb6171af71a2657514539df3f (diff)
downloadlinux-0858d7da8a09e440fb192a0239d20249a2d16af8.tar.gz
linux-0858d7da8a09e440fb192a0239d20249a2d16af8.tar.bz2
linux-0858d7da8a09e440fb192a0239d20249a2d16af8.zip
ramfs: fix mount source show for ramfs
ramfs_parse_param does not parse key "source", and will convert -ENOPARAM to 0. This will skip vfs_parse_fs_param_source in vfs_parse_fs_param, which lead always "none" mount source for ramfs. Fix it by parsing "source" in ramfs_parse_param like cgroup1_parse_param does. Link: https://lkml.kernel.org/r/20210924091756.1906118-1-yangerkun@huawei.com Signed-off-by: yangerkun <yangerkun@huawei.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions