--- linux-2.6.28-gentoo-r5/fs/Kconfig	2009-05-02 10:14:13.370800000 +0400
+++ linux-2.6.28-gentoo-r5-nilfs/fs/Kconfig	2009-05-02 10:09:16.617795207 +0400
@@ -6,6 +6,11 @@
 
 if BLOCK
 
+config NILFS
+	tristate "NILFS"
+	help
+	  NILFS
+ 	  
 source "fs/ext2/Kconfig"
 source "fs/ext3/Kconfig"
 source "fs/ext4/Kconfig"
--- linux-2.6.28-gentoo-r5/fs/Makefile	2009-05-02 10:14:13.370800000 +0400
+++ linux-2.6.28-gentoo-r5-nilfs/fs/Makefile	2009-05-02 10:20:46.679359767 +0400
@@ -69,6 +69,7 @@
 obj-$(CONFIG_DLM)		+= dlm/
  
 # Do not add any filesystems before this line
+obj-$(CONFIG_NILFS)		+= nilfs/
 obj-$(CONFIG_REISERFS_FS)	+= reiserfs/
 obj-$(CONFIG_EXT3_FS)		+= ext3/ # Before ext2 so root fs can be ext3
 obj-$(CONFIG_EXT4_FS)		+= ext4/ # Before ext2 so root fs can be ext4
