if you have a minute, i have some output from a script i wrote that
searches the llnux kernel tree for kernel config variables that seem
to have no possible value (in that they don't appear to be settable
during the config process). in some cases, they might still be useful
but they could also be obsolete leftovers.
here's the XFS-related output. if any of these are truly obsolete
config variables, you can let me know and i'll submit a patch to get
rid of them. what follows is, for each listed config variable, its
entire grep output from the kernel tree.
========== FS_POSIX_CAP ==========
./fs/xfs/xfs_cap.h:#ifdef CONFIG_FS_POSIX_CAP
========== FS_POSIX_MAC ==========
./fs/xfs/xfs_mac.h:#ifdef CONFIG_FS_POSIX_MAC
========== XFS_DEBUG ==========
./fs/xfs/xfs.h:#ifdef CONFIG_XFS_DEBUG
./fs/xfs/Makefile-linux-2.6:ifeq ($(CONFIG_XFS_DEBUG),y)
========== XFS_DMAPI ==========
./fs/xfs/linux-2.6/xfs_file.c:#ifdef CONFIG_XFS_DMAPI
./fs/xfs/linux-2.6/xfs_file.c:#ifdef CONFIG_XFS_DMAPI
./fs/xfs/linux-2.6/xfs_file.c:#endif /* CONFIG_XFS_DMAPI */
./fs/xfs/linux-2.6/xfs_file.c:#ifdef CONFIG_XFS_DMAPI
./fs/xfs/linux-2.6/xfs_file.c:#endif /* CONFIG_XFS_DMAPI */
./fs/xfs/linux-2.6/xfs_file.c:#ifdef CONFIG_XFS_DMAPI
./fs/xfs/linux-2.6/xfs_file.c:#endif /* CONFIG_XFS_DMAPI */
./fs/xfs/linux-2.6/xfs_file.c:#ifdef CONFIG_XFS_DMAPI
./fs/xfs/linux-2.6/xfs_file.c:#endif /* CONFIG_XFS_DMAPI */
./fs/xfs/linux-2.6/xfs_super.h:#ifdef CONFIG_XFS_DMAPI
./fs/xfs/linux-2.6/xfs_super.h:#ifdef CONFIG_XFS_DMAPI
========== XFS_TRACE ==========
./fs/xfs/support/ktrace.h:#ifdef CONFIG_XFS_TRACE
./fs/xfs/support/ktrace.h:#endif /* CONFIG_XFS_TRACE */
./fs/xfs/xfs.h:#ifdef CONFIG_XFS_TRACE
./fs/xfs/Makefile-linux-2.6:xfs-$(CONFIG_XFS_TRACE) +=
xfs_dir2_trace.o
./fs/xfs/Makefile-linux-2.6:xfs-$(CONFIG_XFS_TRACE) +=
support/ktrace.o
./fs/xfs/linux-2.6/xfs_super.h:#ifdef CONFIG_XFS_TRACE
and that's it. any of that deserve to be removed?
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA
http://www.fsdev.dreamhosters.com/wiki/index.php?title=Main_Page
========================================================================
|