public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] XFS: remove a unused sysctl related enum definition.
@ 2012-12-09 23:41 Satoru Takeuchi
  2012-12-10  1:21 ` Dave Chinner
  0 siblings, 1 reply; 3+ messages in thread
From: Satoru Takeuchi @ 2012-12-09 23:41 UTC (permalink / raw)
  To: xfs ML, Christoph Hellwig

From: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>

There is a unused sysctl related enum definition
in fs/xfs/xfs_sysctl.h. This patch removes it.

Signed-off-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
---
 fs/xfs/xfs_sysctl.h |   25 -------------------------
 1 file changed, 25 deletions(-)

diff --git a/fs/xfs/xfs_sysctl.h b/fs/xfs/xfs_sysctl.h
index b9937d4..af152eb 100644
--- a/fs/xfs/xfs_sysctl.h
+++ b/fs/xfs/xfs_sysctl.h
@@ -64,31 +64,6 @@ typedef struct xfs_param {
  * xfs_panic_mask bit 0x8 turns the error reports into panics
  */
 
-enum {
-	/* XFS_REFCACHE_SIZE = 1 */
-	/* XFS_REFCACHE_PURGE = 2 */
-	/* XFS_RESTRICT_CHOWN = 3 */
-	XFS_SGID_INHERIT = 4,
-	XFS_SYMLINK_MODE = 5,
-	XFS_PANIC_MASK = 6,
-	XFS_ERRLEVEL = 7,
-	XFS_SYNCD_TIMER = 8,
-	/* XFS_PROBE_DMAPI = 9 */
-	/* XFS_PROBE_IOOPS = 10 */
-	/* XFS_PROBE_QUOTA = 11 */
-	XFS_STATS_CLEAR = 12,
-	XFS_INHERIT_SYNC = 13,
-	XFS_INHERIT_NODUMP = 14,
-	XFS_INHERIT_NOATIME = 15,
-	XFS_BUF_TIMER = 16,
-	XFS_BUF_AGE = 17,
-	/* XFS_IO_BYPASS = 18 */
-	XFS_INHERIT_NOSYM = 19,
-	XFS_ROTORSTEP = 20,
-	XFS_INHERIT_NODFRG = 21,
-	XFS_FILESTREAM_TIMER = 22,
-};
-
 extern xfs_param_t	xfs_params;
 
 #ifdef CONFIG_SYSCTL
-- 1.7.10.4 

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] XFS: remove a unused sysctl related enum definition.
  2012-12-09 23:41 [PATCH 1/2] XFS: remove a unused sysctl related enum definition Satoru Takeuchi
@ 2012-12-10  1:21 ` Dave Chinner
  2012-12-10  1:57   ` Satoru Takeuchi
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Chinner @ 2012-12-10  1:21 UTC (permalink / raw)
  To: Satoru Takeuchi; +Cc: Christoph Hellwig, xfs ML

On Mon, Dec 10, 2012 at 08:41:38AM +0900, Satoru Takeuchi wrote:
> From: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
> 
> There is a unused sysctl related enum definition
> in fs/xfs/xfs_sysctl.h. This patch removes it.

Is it?

AFAICT, kernel/sysctl_binary.c uses it when CONFIG_SYSCTL_SYSCALL=y.

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] XFS: remove a unused sysctl related enum definition.
  2012-12-10  1:21 ` Dave Chinner
@ 2012-12-10  1:57   ` Satoru Takeuchi
  0 siblings, 0 replies; 3+ messages in thread
From: Satoru Takeuchi @ 2012-12-10  1:57 UTC (permalink / raw)
  To: Dave Chinner; +Cc: Christoph Hellwig, xfs ML

(2012/12/10 10:21), Dave Chinner wrote:
> On Mon, Dec 10, 2012 at 08:41:38AM +0900, Satoru Takeuchi wrote:
>> From: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
>>
>> There is a unused sysctl related enum definition
>> in fs/xfs/xfs_sysctl.h. This patch removes it.
> 
> Is it?
> 
> AFAICT, kernel/sysctl_binary.c uses it when CONFIG_SYSCTL_SYSCALL=y.

I just checked fs/xfs/*. Sorry for noize.

Thanks,
Satoru


_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-12-10  1:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-09 23:41 [PATCH 1/2] XFS: remove a unused sysctl related enum definition Satoru Takeuchi
2012-12-10  1:21 ` Dave Chinner
2012-12-10  1:57   ` Satoru Takeuchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox