Skip to content

nilfs2-kmod10 v3.0 release

Pre-release
Pre-release

Choose a tag to compare

@konis konis released this 03 Feb 11:21
· 57 commits to main since this release
v3.0
  • Backport fixes for the buffer head state inconsistency issues reported by syzbot that occur when the filesystem is corrupted and falls back to read-only, and the associated buffer head use-after-free issue:
    • Do not force clear folio if buffer is referenced
    • Protect access to buffers with no active references
  • Backport fixes for BUG_ON check failures reported by syzbot around rename operations, and a behavioral issue where the mtime of a child directory changes when it is renamed instead of moved:
    • Handle errors that nilfs_prepare_chunk() may return
    • Do not update mtime of renamed directory that is not moved
  • Backport a fix for integer overflows in the fiemap ioctl that don't happen with normal FS formats, but can happen in special circumstances where the segment size is tuned to be extra large:
    • Fix possible int overflows in nilfs_fiemap()
  • Backport changes that convert remaining page structure references to use folios:
    • Convert nilfs_copy_buffer() to use folios
    • Convert segment buffer to be folio-based
    • Convert common metadata file code to be folio-based
    • Convert segment usage file to be folio-based
    • Convert persistent object allocator to be folio-based
    • Convert inode file to be folio-based
    • Convert DAT file to be folio-based
    • Remove nilfs_palloc_block_get_entry()
    • Convert checkpoint file to be folio-based
    • Remove nilfs_writepage
    • Convert nilfs_page_count_clean_buffers() to take a folio
    • Convert nilfs_recovery_copy_block() to take a folio
    • Convert metadata aops from writepage to writepages
  • Backport fixes to correct format errors in return value descriptions in kernel-doc comments that are output when the kernel-doc script is run with the "-Wall" option:
    • Correct return value kernel-doc descriptions for ioctl functions
    • Correct return value kernel-doc descriptions for bmap functions
    • Correct return value kernel-doc descriptions for sufile
    • Correct return value kernel-doc descriptions for metadata files
    • Correct return value kernel-doc descriptions for the rest
    • Add missing return value kernel-doc descriptions
    • Revise the return value description style for consistency.