From: Joe Perches <joe@perches.com>
To: Jiri Kosina <trivial@kernel.org>
Cc: Ben Myers <bpm@sgi.com>, Alex Elder <elder@kernel.org>,
xfs@oss.sgi.com, linux-kernel@vger.kernel.org
Subject: [Trivial PATCH 25/33] xfs: Convert use of typedef ctl_table to struct ctl_table
Date: Thu, 13 Jun 2013 19:37:50 -0700 [thread overview]
Message-ID: <1cd76f83a114f3bc5bf6450bc71098aa2c6baa33.1371177118.git.joe@perches.com> (raw)
In-Reply-To: <cover.1371177118.git.joe@perches.com>
This typedef is unnecessary and should just be removed.
Signed-off-by: Joe Perches <joe@perches.com>
---
fs/xfs/xfs_sysctl.c | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/fs/xfs/xfs_sysctl.c b/fs/xfs/xfs_sysctl.c
index 2801b5c..1743b9f 100644
--- a/fs/xfs/xfs_sysctl.c
+++ b/fs/xfs/xfs_sysctl.c
@@ -25,11 +25,11 @@ static struct ctl_table_header *xfs_table_header;
#ifdef CONFIG_PROC_FS
STATIC int
xfs_stats_clear_proc_handler(
- ctl_table *ctl,
- int write,
- void __user *buffer,
- size_t *lenp,
- loff_t *ppos)
+ struct ctl_table *ctl,
+ int write,
+ void __user *buffer,
+ size_t *lenp,
+ loff_t *ppos)
{
int c, ret, *valp = ctl->data;
__uint32_t vn_active;
@@ -55,11 +55,11 @@ xfs_stats_clear_proc_handler(
STATIC int
xfs_panic_mask_proc_handler(
- ctl_table *ctl,
- int write,
- void __user *buffer,
- size_t *lenp,
- loff_t *ppos)
+ struct ctl_table *ctl,
+ int write,
+ void __user *buffer,
+ size_t *lenp,
+ loff_t *ppos)
{
int ret, *valp = ctl->data;
@@ -74,7 +74,7 @@ xfs_panic_mask_proc_handler(
}
#endif /* CONFIG_PROC_FS */
-static ctl_table xfs_table[] = {
+static struct ctl_table xfs_table[] = {
{
.procname = "irix_sgid_inherit",
.data = &xfs_params.sgid_inherit.val,
@@ -227,7 +227,7 @@ static ctl_table xfs_table[] = {
{}
};
-static ctl_table xfs_dir_table[] = {
+static struct ctl_table xfs_dir_table[] = {
{
.procname = "xfs",
.mode = 0555,
@@ -236,7 +236,7 @@ static ctl_table xfs_dir_table[] = {
{}
};
-static ctl_table xfs_root_table[] = {
+static struct ctl_table xfs_root_table[] = {
{
.procname = "fs",
.mode = 0555,
--
1.8.1.2.459.gbcd45b4.dirty
next prev parent reply other threads:[~2013-06-14 2:41 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-14 2:37 [Trivial PATCH 00/33] Remove uses of typedef ctl_table Joe Perches
2013-06-14 2:37 ` [Trivial PATCH 01/33] arm: kernel: isa: Convert use of typedef ctl_table to struct ctl_table Joe Perches
2013-06-14 2:37 ` [Trivial PATCH 02/33] frv: " Joe Perches
2013-06-14 2:37 ` [Trivial PATCH 03/33] ia64: crash: " Joe Perches
2013-06-14 2:37 ` [Trivial PATCH 04/33] mips: lasat: sysctl: " Joe Perches
2013-06-14 2:37 ` [Trivial PATCH 05/33] powerpc: idle: " Joe Perches
2013-06-14 2:37 ` [Trivial PATCH 06/33] s390: " Joe Perches
2013-06-14 2:37 ` [Trivial PATCH 07/33] tile: proc: " Joe Perches
2013-06-14 2:37 ` [Trivial PATCH 08/33] x86: vdso: " Joe Perches
2013-06-19 18:43 ` [tip:x86/asm] x86/vdso: " tip-bot for Joe Perches
2013-06-19 18:47 ` H. Peter Anvin
2013-06-19 19:05 ` Joe Perches
2013-06-14 2:37 ` [Trivial PATCH 09/33] cdrom: " Joe Perches
2013-06-14 2:37 ` [Trivial PATCH 10/33] char: " Joe Perches
2013-06-14 2:37 ` [Trivial PATCH 11/33] infiniband: " Joe Perches
2013-06-14 2:37 ` [Trivial PATCH 12/33] macintosh: " Joe Perches
2013-06-14 2:37 ` [Trivial PATCH 13/33] md: " Joe Perches
2013-06-14 2:37 ` [Trivial PATCH 14/33] sgi: xpc: " Joe Perches
2013-06-14 2:53 ` Robin Holt
2013-06-14 2:37 ` [Trivial PATCH 15/33] parport: " Joe Perches
2013-06-14 2:37 ` [Trivial PATCH 16/33] scsi_sysctl: " Joe Perches
2013-06-14 2:37 ` [Trivial PATCH 17/33] coda: " Joe Perches
2013-06-14 2:37 ` [Trivial PATCH 18/33] fscache: " Joe Perches
2013-06-14 2:37 ` [Trivial PATCH 19/33] lockd: " Joe Perches
2013-06-14 2:37 ` [Trivial PATCH 20/33] nfs: " Joe Perches
2013-06-14 2:37 ` [Trivial PATCH 21/33] inotify: " Joe Perches
2013-06-14 2:37 ` [Trivial PATCH 22/33] ntfs: " Joe Perches
2013-06-14 2:37 ` [Trivial PATCH 23/33] ocfs2: " Joe Perches
2013-06-14 2:37 ` [Trivial PATCH 24/33] quota: " Joe Perches
2013-06-21 12:59 ` Jan Kara
2013-06-14 2:37 ` Joe Perches [this message]
2013-06-14 5:21 ` [Trivial PATCH 25/33] xfs: " Dave Chinner
2013-06-14 5:33 ` Joe Perches
2013-06-14 6:18 ` Dave Chinner
2013-06-17 22:39 ` Ben Myers
2013-06-14 2:37 ` [Trivial PATCH 26/33] fs: " Joe Perches
2013-06-14 2:37 ` [Trivial PATCH 27/33] key: " Joe Perches
2013-06-14 2:37 ` [Trivial PATCH 28/33] ipv6: " Joe Perches
2013-06-20 6:18 ` David Miller
2013-06-14 2:37 ` [Trivial PATCH 29/33] ndisc: " Joe Perches
2013-06-20 6:18 ` David Miller
2013-06-14 2:37 ` [Trivial PATCH 30/33] ipc: " Joe Perches
2013-06-14 2:37 ` [Trivial PATCH 31/33] sysctl: " Joe Perches
2013-06-14 2:37 ` [Trivial PATCH 32/33] mm: " Joe Perches
2013-06-14 2:37 ` [Trivial PATCH 33/33] security: keys: " Joe Perches
2013-06-14 8:57 ` [Trivial PATCH 02/33] frv: " David Howells
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1cd76f83a114f3bc5bf6450bc71098aa2c6baa33.1371177118.git.joe@perches.com \
--to=joe@perches.com \
--cc=bpm@sgi.com \
--cc=elder@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=trivial@kernel.org \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®