| To: | Alexey Dobriyan <adobriyan@xxxxxxxxx> |
|---|---|
| Subject: | [xfs-masters] [PATCH] sysctl: fixes for my C99 converion xfs ctl_tables |
| From: | ebiederm@xxxxxxxxxxxx (Eric W. Biederman) |
| Date: | Tue, 16 Jan 2007 11:45:35 -0700 |
| Cc: | akpm@xxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, xfs-masters@xxxxxxxxxxx, xfs@xxxxxxxxxxx |
| In-reply-to: | <20070116181651.GA5028@martell.zuzino.mipt.ru> (Alexey Dobriyan's message of "Tue, 16 Jan 2007 21:16:51 +0300") |
| References: | <m1ac0jc4no.fsf@ebiederm.dsl.xmission.com> <11689656301563-git-send-email-ebiederm@xmission.com> <20070116181651.GA5028@martell.zuzino.mipt.ru> |
| Reply-to: | xfs-masters@xxxxxxxxxxx |
| Sender: | xfs-masters-bounce@xxxxxxxxxxx |
| User-agent: | Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
This kills the extra NULLs and spaces, I missed.
Signed-off-by: Eric W. Biederman <ebiederm@xxxxxxxxxxxx>
---
fs/xfs/linux-2.6/xfs_sysctl.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/fs/xfs/linux-2.6/xfs_sysctl.c b/fs/xfs/linux-2.6/xfs_sysctl.c
index 3ac4dab..0dc3b59 100644
--- a/fs/xfs/linux-2.6/xfs_sysctl.c
+++ b/fs/xfs/linux-2.6/xfs_sysctl.c
@@ -94,7 +94,7 @@ STATIC ctl_table xfs_table[] = {
.data = &xfs_params.panic_mask.val,
.maxlen = sizeof(int),
.mode = 0644,
- .proc_handler = &proc_dointvec_minmax,
+ .proc_handler = &proc_dointvec_minmax,
.strategy = &sysctl_intvec,
.extra1 = &xfs_params.panic_mask.min,
.extra2 = &xfs_params.panic_mask.max
@@ -140,7 +140,7 @@ STATIC ctl_table xfs_table[] = {
.maxlen = sizeof(int),
.mode = 0644,
.proc_handler = &proc_dointvec_minmax,
- .strategy = &sysctl_intvec, NULL,
+ .strategy = &sysctl_intvec,
.extra1 = &xfs_params.inherit_nodump.min,
.extra2 = &xfs_params.inherit_nodump.max
},
@@ -151,7 +151,7 @@ STATIC ctl_table xfs_table[] = {
.maxlen = sizeof(int),
.mode = 0644,
.proc_handler = &proc_dointvec_minmax,
- .strategy = &sysctl_intvec, NULL,
+ .strategy = &sysctl_intvec,
.extra1 = &xfs_params.inherit_noatim.min,
.extra2 = &xfs_params.inherit_noatim.max
},
@@ -218,7 +218,7 @@ STATIC ctl_table xfs_table[] = {
.data = &xfs_params.stats_clear.val,
.maxlen = sizeof(int),
.mode = 0644,
- .proc_handler = &xfs_stats_clear_proc_handler,
+ .proc_handler = &xfs_stats_clear_proc_handler,
.strategy = &sysctl_intvec,
.extra1 = &xfs_params.stats_clear.min,
.extra2 = &xfs_params.stats_clear.max
--
1.4.4.1.g278f
|
| Previous by Date: | [xfs-masters] Re: [PATCH 14/59] sysctl: C99 convert xfs ctl_tables, Alexey Dobriyan |
|---|---|
| Next by Date: | [xfs-masters] [Bug 736] Filesystem "dm-9": XFS internal error xfs_da_do_buf(2) at line 2271 of file fs/xfs/xfs_da_btree.c. Caller 0xf8c1acb4, bugzilla-daemon |
| Previous by Thread: | [xfs-masters] Re: [PATCH 14/59] sysctl: C99 convert xfs ctl_tables, Eric W. Biederman |
| Next by Thread: | [xfs-masters] Re: [PATCH 14/59] sysctl: C99 convert xfs ctl_tables, Kirill Korotaev |
| Indexes: | [Date] [Thread] [Top] [All Lists] |