]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
kernel: add NILFS2 fs module
authorPavlo Samko <bulldozerbsg@gmail.com>
Fri, 14 Mar 2025 17:39:31 +0000 (19:39 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 24 Aug 2025 17:45:27 +0000 (19:45 +0200)
NILFS is a log-structured file system developed for Linux.
NILFS provides versioning capability of an entire file system
and continuous snapshotting that allows users to restore files
mistakenly overwritten or destroyed a while ago.

Signed-off-by: Pavlo Samko <bulldozerbsg@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18247
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/kernel/linux/modules/fs.mk

index d818b21d999995b71651a5fc3c4776ecf81e0967..32114024e70c8352c60b26f28ea9cebe65702685 100644 (file)
@@ -440,6 +440,22 @@ endef
 $(eval $(call KernelPackage,fs-netfs))
 
 
+define KernelPackage/fs-nilfs2
+  SUBMENU:=$(FS_MENU)
+  TITLE:=NILFS2 filesystem support
+  KCONFIG:=CONFIG_NILFS2_FS
+  FILES:=$(LINUX_DIR)/fs/nilfs2/nilfs2.ko
+  AUTOLOAD:=$(call AutoLoad,30,nilfs2)
+  $(call AddDepends/nls)
+endef
+
+define KernelPackage/fs-nilfs2/description
+ Kernel module for NILFS2 filesystem support
+endef
+
+$(eval $(call KernelPackage,fs-nilfs2))
+
+
 define KernelPackage/fs-nfs
   SUBMENU:=$(FS_MENU)
   TITLE:=NFS filesystem client support