Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71145
b: refs/heads/master
c: 97aeacf
h: refs/heads/master
i:
  71143: ee47fe2
v: v3
  • Loading branch information
Eric W. Biederman authored and Linus Torvalds committed Oct 18, 2007
1 parent 61eeaf5 commit f0dbf68
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 49a0c45833c9aa9852ba02c9df0f18029509d0a9
refs/heads/master: 97aeacf49239d7f829b8cbfaca05530c97ccb903
10 changes: 0 additions & 10 deletions trunk/ipc/mqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,6 @@
#define STATE_PENDING 1
#define STATE_READY 2

/* used by sysctl */
#define FS_MQUEUE 1
#define CTL_QUEUESMAX 2
#define CTL_MSGMAX 3
#define CTL_MSGSIZEMAX 4

/* default values */
#define DFLT_QUEUESMAX 256 /* max number of message queues */
#define DFLT_MSGMAX 10 /* max number of messages in each queue */
Expand Down Expand Up @@ -1196,15 +1190,13 @@ static int msg_maxsize_limit_max = INT_MAX;

static ctl_table mq_sysctls[] = {
{
.ctl_name = CTL_QUEUESMAX,
.procname = "queues_max",
.data = &queues_max,
.maxlen = sizeof(int),
.mode = 0644,
.proc_handler = &proc_dointvec,
},
{
.ctl_name = CTL_MSGMAX,
.procname = "msg_max",
.data = &msg_max,
.maxlen = sizeof(int),
Expand All @@ -1214,7 +1206,6 @@ static ctl_table mq_sysctls[] = {
.extra2 = &msg_max_limit_max,
},
{
.ctl_name = CTL_MSGSIZEMAX,
.procname = "msgsize_max",
.data = &msgsize_max,
.maxlen = sizeof(int),
Expand All @@ -1228,7 +1219,6 @@ static ctl_table mq_sysctls[] = {

static ctl_table mq_sysctl_dir[] = {
{
.ctl_name = FS_MQUEUE,
.procname = "mqueue",
.mode = 0555,
.child = mq_sysctls,
Expand Down

0 comments on commit f0dbf68

Please sign in to comment.