• Nitin Gupta's avatar
    staging: zram: Rename module parameter · 5fa5a901
    Nitin Gupta authored
    zram accepts number of devices to be created
    as a module parameter. This was renamed from
    num_devices to zram_num_devices (without updating
    the documentation!) since num_devices was declared
    as a non-static global variable, polluting the global
    namespace. Now, we declare it as a static variable
    and revert back the name change.
    
    The documentation (zram.txt) already mentions
    num_devices as the module parameter name.
    Signed-off-by: default avatarNitin Gupta <ngupta@vflare.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    5fa5a901
zram_sysfs.c 5.38 KB