[Ocfs2-devel] [PATCH 02/13] cdrom: use new sysctl subdir helper register_sysctl_subdir()

Eric W. Biederman ebiederm at xmission.com
Fri May 29 05:46:49 PDT 2020


Luis Chamberlain <mcgrof at kernel.org> writes:

> This simplifies the code considerably. The following coccinelle

With register_sysctl the code would read:

	cdrom_sysctl_header = register_sysctl("dev/cdrom", cdrom_table);

Please go that direction.  Thank you.

Eric



More information about the Ocfs2-devel mailing list