• tangmeng's avatar
    kernel/do_mount_initrd: move real_root_dev sysctls to its own file · d772cc2c
    tangmeng authored
    
    
    kernel/sysctl.c is a kitchen sink where everyone leaves their dirty
    dishes, this makes it very difficult to maintain.
    
    To help with this maintenance let's start by moving sysctls to places
    where they actually belong.  The proc sysctl maintainers do not want to
    know what sysctl knobs you wish to add for your own piece of code, we
    just care about the core logic.
    
    All filesystem syctls now get reviewed by fs folks. This commit
    follows the commit of fs, move the real_root_dev sysctl to its own file,
    kernel/do_mount_initrd.c.
    Signed-off-by: default avatartangmeng <tangmeng@uniontech.com>
    Signed-off-by: default avatarLuis Chamberlain <mcgrof@kernel.org>
    d772cc2c
do_mounts_initrd.c 3.87 KB