[GIT PULL] nilfs2 changes for 7.0-rc1

From: Viacheslav Dubeyko

Date: Fri Feb 06 2026 - 18:15:01 EST


Hello Linus,

This pull request contains one fix in NILFS2 logic
and fix of kernel-doc warnings.

Edward Adam Davis has fixed the syzbot reported issue
in nilfs_sufile_trim_fs() logic. When a user executes
the FITRIM command, an underflow can occur when
calculating nblocks if end_block is too small.
This ultimately leads to the block layer function
__blkdev_issue_discard() taking an excessively long time to
process the bio chain, and the ns_segctor_sem lock remains
held for a long period. This prevents other tasks from
acquiring the ns_segctor_sem lock, resulting in the hang
reported by syzbot

Randy Dunlap eliminated 40+ kernel-doc warnings in
nilfs2_ondisk.h by converting all of the struct member
comments to kernel-doc comments.

Ryusuke Konishi eliminated kernel-doc warnings in nilfs2_api.h.

The following changes since commit
8f0b4cce4481fb22653697cced8d0d04027cb1e8:

Linux 6.19-rc1 (2025-12-14 16:05:07 +1200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/vdubeyko/nilfs2.git
tags/nilfs2-v7.0-tag1

for you to fetch changes up to
6fd8a09f48d6fee184207f4e15e939898a3947f9:

nilfs2: fix missing struct keywords in nilfs2_api.h kernel-doc (2025-
12-22 15:45:29 -0800)

----------------------------------------------------------------
nilfs2 updates for v7.0

- nilfs2: fix missing struct keywords in nilfs2_api.h kernel-doc
- nilfs2: convert nilfs_super_block to kernel-doc
- nilfs2: Fix potential block overflow that cause system hang

----------------------------------------------------------------
Edward Adam Davis (1):
nilfs2: Fix potential block overflow that cause system hang

Randy Dunlap (1):
nilfs2: convert nilfs_super_block to kernel-doc

Ryusuke Konishi (1):
nilfs2: fix missing struct keywords in nilfs2_api.h kernel-doc

fs/nilfs2/sufile.c | 4 +
include/uapi/linux/nilfs2_api.h | 4 +-
include/uapi/linux/nilfs2_ondisk.h | 163 ++++++++++++++++++++++-------
--------
3 files changed, 103 insertions(+), 68 deletions(-)