Skip to content

Commit 50d851f

Browse files
ebiedermLinus Torvalds
authored andcommitted
[PATCH] sysctl: move CTL_SUNRPC to sysctl.h where it belongs
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Cc: Trond Myklebust <trond.myklebust@fys.uio.no> Cc: Neil Brown <neilb@cse.unsw.edu.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent b402f06 commit 50d851f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎include/linux/sunrpc/debug.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ void rpc_unregister_sysctl(void);
7878
* module currently registers its sysctl table dynamically, the sysctl path
7979
* for module FOO is <CTL_SUNRPC, CTL_FOODEBUG>.
8080
*/
81-
#define CTL_SUNRPC 7249 /* arbitrary and hopefully unused */
8281

8382
enum {
8483
CTL_RPCDEBUG = 1,

‎include/linux/sysctl.h‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ enum
6969
CTL_DEV=7, /* Devices */
7070
CTL_BUS=8, /* Busses */
7171
CTL_ABI=9, /* Binary emulation */
72-
CTL_CPU=10 /* CPU stuff (speed scaling, etc) */
72+
CTL_CPU=10, /* CPU stuff (speed scaling, etc) */
73+
CTL_SUNRPC=7249, /* sunrpc debug */
7374
};
7475

7576
/* CTL_BUS names: */

0 commit comments

Comments
 (0)