XFS: remove a unused sysctl related enum definition.
PATCH 1/2 XFS: remove a unused sysctl related enum definition.
From: Satoru Takeuchi <[email protected]>
There is a unused sysctl related enum definition
in fs/xfs/xfs_sysctl.h. This patch removes it.
--- fs/xfs/xfs_sysctl.h | 25 ------------------------- 1 file changed, 25 deletions(-)
fs/xfs/xfs_sysctl.h +0 -25
@@ -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
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 4 lines · Satoru Takeuchi
From: Satoru Takeuchi <[email protected]>
There is a unused sysctl related enum definition
infs/xfs/xfs_sysctl.h. This patch removes it.
Is it?
AFAICT, kernel/sysctl_binary.c uses it when CONFIG_SYSCTL_SYSCALL=y.
Cheers,
Dave.
Signature · 7 lines
Dave Chinner [email protected] _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
Quoted 9 lines · Dave Chinner
Quoted 4 lines · Satoru Takeuchi
From: Satoru Takeuchi <[email protected]>
There is a unused sysctl related enum definition
infs/xfs/xfs_sysctl.h. This patch removes it.Is it?
AFAICT,
kernel/sysctl_binary.cuses it whenCONFIG_SYSCTL_SYSCALL=y.
I just checked fs/xfs/*. Sorry for noize.
Thanks,
Satoru
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs