[openwrt/openwrt] kernel: add NILFS2 fs module

LEDE Commits lede-commits at lists.infradead.org
Sun Aug 24 10:46:40 PDT 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/2b5119e355d9b59181626479f6aa4ef6405690bf

commit 2b5119e355d9b59181626479f6aa4ef6405690bf
Author: Pavlo Samko <bulldozerbsg at gmail.com>
AuthorDate: Fri Mar 14 19:39:31 2025 +0200

    kernel: add NILFS2 fs module
    
    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 at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/18247
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/kernel/linux/modules/fs.mk | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/package/kernel/linux/modules/fs.mk b/package/kernel/linux/modules/fs.mk
index d818b21d99..32114024e7 100644
--- a/package/kernel/linux/modules/fs.mk
+++ b/package/kernel/linux/modules/fs.mk
@@ -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




More information about the lede-commits mailing list