>[оверквотинг удален]
> #ifdef CONFIG_FSNOTIFY
> __u32
>
> i_fsnotify_mask; /* all events this inode cares
> about */
> struct hlist_head
> i_fsnotify_marks;
> #endif
> CONFIG_FSNOTIFY это именно переменная выставляемая опцией сборки ядра FSNOTIFY.
> Мне надо тожесамое с моей опцией.--- a/fs/ioctl.c 2013-03-27 06:41:26.000000000 +0400
+++ b/fs/ioctl.c 2013-04-02 00:39:19.691000000 +0400
@@ -21,6 +21,10 @@
/* So that the fiemap access checks can't overflow on 32 bit machines. */
#define FIEMAP_MAX_EXTENTS (UINT_MAX / sizeof(struct fiemap_extent))
+#ifdef CONFIG_FS_TEST_OPTION
+ #error "CONFIG_FS_TEST_OPTION"
+#endif
+
/**
* vfs_ioctl - call filesystem specific ioctl methods
* @filp: open file to invoke ioctl method on
--- a/fs/Kconfig 2013-03-27 06:41:26.000000000 +0400
+++ b/fs/Kconfig 2013-04-02 00:37:16.088000000 +0400
@@ -4,6 +4,12 @@
menu "File systems"
+config FS_TEST_OPTION
+ bool "Test option"
+ default n
+ help
+ Test option
+
if BLOCK
# make mrproper;
# make oldconfig;
# make menuconfig /* если нужно */