# changelog

author: Peter Georg <peter.georg@physik.uni-regensburg.de>
changelog:
  - [Backport a05e4c0af490] ethernet: use eth_hw_addr_set() for dev->addr_len cases
  - [Backport 882edc062168] net: ethernet: use time_is_before_eq_jiffies() instead of open coding it
  - [Backport fd49f8e61cd3] jme: remove an unnecessary indirection
  - [Backport b48b89f9c189] net: drop the weight argument from netif_napi_add


author: Peter Georg <peter.georg@physik.uni-regensburg.de>
changelog:
  - [Backport b7446e7cf15f] fs: Remove aop flags parameter from grab_cache_page_write_begin()
  - [Backport 9d6b0cd75798] fs: Remove flags parameter from aops->write_begin
  - [Backport b3992d1e2ebc] fs: Remove aop flags parameter from block_write_begin()
  - [Backport 44ab23b9b3c7] ntfs3: Call ntfs_write_begin() and ntfs_write_end() directly
  - [Backport 652118b8c979] ntfs3: Remove fsdata parameter from ntfs_extend_initialized_size()
  - [Backport 724bbe49c5e4] fs/ntfs3: provide block_invalidate_folio to fix memory leak
  - [Backport ce6b53158834] fs/ntfs3: Use enum req_op where appropriate
  - [Backport 19cb4273a245] ntfs3: Remove check for PageError
  - [Backport 913971014874] ntfs3: refactor ntfs_writepages
  - [Backport b7b6160d0eb9] fs/ntfs3: Refactoring of indx_find function
  - [Backport cd39981fb92a] fs/ntfs3: Fix double free on remount
  - [Backport 19d1b7872d1e] fs/ntfs3: Refactor ni_try_remove_attr_list function
  - [Backport 37a530bfe56c] fs/ntfs3: Fix missing i_op in ntfs_read_mft
  - [Backport 548744f84456] fs/ntfs3: Remove a useless test
  - [Backport 560e613352b4] fs/ntfs3: Remove redundant assignment to variable frame
  - [Backport dc8965ab5e33] fs/ntfs3: Remove redundant assignment to variable vcn
  - [Backport ae5a4e46916f] fs/ntfs3: Fix using uninitialized value n when calling indx_read
  - [Backport 19e890ff3bed] fs/ntfs3: Use the same order for acl pointer check in ntfs_init_acl
  - [Backport 926034353d3c] fs/ntfs3: Don't clear upper bits accidentally in log_replay()
  - [Backport f759942b72a9] fs/ntfs3: Add missing error check
  - [Backport aa30eccb24e5] fs/ntfs3: Fallocate (FALLOC_FL_INSERT_RANGE) implementation
  - [Backport e4d2f4fd5341] fs/ntfs3: Enable FALLOC_FL_INSERT_RANGE
  - [Backport 321460ca3b55] fs/ntfs3: Fix NULL deref in ntfs_update_mftmirr
  - [Backport e66af07ca2b5] fs/ntfs3: Make ntfs_update_mftmirr return void
  - [Backport 4838ec0d80b1] fs/ntfs3: Unlock on error in attr_insert_range()
  - [Backport cc83b0c7e306] fs/ntfs3: Remove duplicated assignment to variable r
  - [Backport 604a9d272dc3] fs/ntfs3: Remove unnecessary 'NULL' values from pointers
  - [Backport 460bbf2990b3] fs/ntfs3: Do not change mode if ntfs_set_ea failed
  - [Backport 13747aac8984] fs/ntfs3: Check reserved size for maximum allowed
  - [Backport c1e0ab378921] fs/ntfs3: extend ni_insert_nonresident to return inserted ATTR_LIST_ENTRY
  - [Backport b3e048720dee] fs/ntfs3: Make ntfs_fallocate return -ENOSPC instead of -EFBIG
  - [Backport 42f86b1226a4] fs/ntfs3: Fix work with fragmented xattr
  - [Backport 560f7736b946] fs/ntfs3: Fix very fragmented case in attr_punch_hole
  - [Backport 6700eabb90d5] fs/ntfs3: Remove unused mi_mark_free
  - [Backport 071100ea0e6c] fs/ntfs3: Add new argument is_mft to ntfs_mark_rec_free
  - [Backport cf760ec0a0b4] fs/ntfs3: Make static function attr_load_runs
  - [Backport 42f66a7fdaa0] fs/ntfs3: Fill duplicate info in ni_add_name
  - [Backport 54033c135061] fs/ntfs3: Added comments to frecord functions
  - [Backport e6d9398c077d] fs/ntfs3: Check possible errors in run_pack in advance
  - [Backport 8335ebe195dc] fs/ntfs3: Make MFT zone less fragmented
  - [Backport c12df45ee690] fs/ntfs3: New function ntfs_bad_inode
  - [Backport 0e5b044cbf3a] fs/ntfs3: Refactoring attr_set_size to restore after errors
  - [Backport 20abc64f7834] fs/ntfs3: Refactoring attr_punch_hole to restore after errors


author: Peter Georg <peter.georg@physik.uni-regensburg.de>
changelog:
  - [Backport 9256ec35359f] fs/ntfs3: Refactoring attr_insert_range to restore after errors
  - [Backport 8039edba043d] fs/ntfs3: Create MFT zone only if length is large enough
  - [Backport 451e45a0e6df] fs/ntfs3: Make ni_ins_new_attr return error
  - [Backport 96964352e219] fs/ntfs3: Remove unused function wnd_bits
  - [Backport d4073595d0c6] fs/ntfs3: uninitialized variable in ntfs_set_acl_ex()
  - [Backport 0c3bc7899e6d] ntfs: fix acl handling
  - [Backport a26aa1238415] ntfs3: rework xattr handlers and switch to POSIX ACL VFS helpers
  - [Backport 70a1cb106d94] lib/bitmap: don't call __bitmap_weight() in kernel code
  - [Backport a251c17aa558] treewide: use get_random_u32() when possible
  - [Backport caad9dd8792a] fs/ntfs3: Avoid UBSAN error on true_sectors_per_clst()
  - [Backport 557d19675a47] fs/ntfs3: Fix slab-out-of-bounds read in ntfs_trim_fs
  - [Backport 0b6604626669] fs/ntfs3: Validate BOOT record_size
  - [Backport e19c6277652e] fs/ntfs3: Add overflow check for attribute size
  - [Backport 6db620863f85] fs/ntfs3: Validate data run offset
  - [Backport 2681631c2973] fs/ntfs3: Add null pointer check to attr_load_runs_vcn
  - [Backport 51e76a232f8c] fs/ntfs3: Fix memory leak on ntfs_fill_super() error path
  - [Backport c1ca8ef0262b] fs/ntfs3: Add null pointer check for inode operations
  - [Backport 4f1dc7d9756e] fs/ntfs3: Validate attribute name offset
  - [Backport 4d42ecda239c] fs/ntfs3: Validate buffer length while parsing index
  - [Backport 54e45702b648] fs/ntfs3: Validate resident attribute name
  - [Backport 887bfc546097] fs/ntfs3: Fix slab-out-of-bounds read in run_unpack
  - [Backport bfcdbae0523b] fs/ntfs3: Validate index root when initialize NTFS security
  - [Backport 0d0f659bf713] fs/ntfs3: Use __GFP_NOWARN allocation at wnd_init()
  - [Backport 59bfd7a483da] fs/ntfs3: Use __GFP_NOWARN allocation at ntfs_fill_super()
  - [Backport 658015167a84] fs/ntfs3: Delete duplicate condition in ntfs_read_mft()
  - [Backport ecfbd57cf9c5] fs/ntfs3: Fix slab-out-of-bounds in r_page
  - [Backport 0226635c304c] fs/ntfs3: don't hold ni_lock when calling truncate_setsize()
  - [Backport 6d5c9e79b726] fs/ntfs3: Fix attr_punch_hole() null pointer derenference
  - [Backport 019d22eb0eb7] fs/ntfs3: Validate attribute data and valid sizes


author: Peter Georg <peter.georg@physik.uni-regensburg.de>
changelog:
  - [Backport 1bc6bb657dfb] fs/ntfs3: Fix memory leak if ntfs_read_mft failed
  - [Backport 7898db22ed6c] fs/ntfs3: Add check for kmemdup
  - [Backport 17048287ac79] fs/ntfs3: Fix OOB read in indx_insert_into_buffer
  - [Backport 9163a5b4ed29] fs/ntfs3: Fix slab-out-of-bounds read in hdr_delete_de()
  - [Backport d69d5e2a81df] fs/ntfs3: Fix null-ptr-deref on inode->i_op in ntfs_lookup()
  - [Backport b2bd08be1a64] fs/ntfs3: Refactoring of various minor issues
  - [Backport a8eaa9a06add] fs/ntfs3: Validate MFT flags before replaying logs
  - [Backport c86a2517df6c] ntfs: Fix panic about slab-out-of-bounds caused by ntfs_listxattr()
  - [Backport 000a9a72efa4] fs/ntfs3: Check fields while reading
  - [Backport ccc6de4d4f34] fs/ntfs3: Use __GFP_NOWARN allocation at ntfs_load_attr_list()
  - [Backport 4246bbef0442] fs/ntfs3: Enhance sanity check while generating attr_list
  - [Backport 1e2205568bb8] fs: ntfs3: Fix possible null-pointer dereferences in mi_read()
  - [Backport 9e79f3e8f129] fs/ntfs3: Mark ntfs dirty when on-disk struct is corrupted
  - [Backport fb80a28fef2b] fs/ntfs3: Fix possible null-pointer dereference in hdr_find_e()
  - [Backport c1f2638e315b] fs/ntfs3: fix panic about slab-out-of-bounds caused by ntfs_list_ea()
  - [Backport 36a315c923e0] fs/ntfs3: fix deadlock in mark_as_free_ex
  - [Backport fc91bb3e1b2b] fs/ntfs3: Add ckeck in ni_update_parent()
  - [Backport 92f9c7c7ddbf] fs/ntfs3: Write immediately updated ntfs state
  - [Backport 6fe32f79abea] fs/ntfs3: Use kvmalloc instead of kmalloc(... __GFP_NOWARN)
  - [Backport c8cbae3cbbc4] fs/ntfs3: Fix possible NULL-ptr-deref in ni_readpage_cmpr()
  - [Backport 3bff4bb7f9c7] fs/ntfs3: Fix NULL pointer dereference on error in attr_allocate_frame()
  - [Backport 84aabd18c8d7] fs/ntfs3: Fix directory element type detection
  - [Backport 6a7a2d5a0864] fs/ntfs3: Avoid possible memory leak
  - [Backport ec1bedd79758] fs/ntfs3: Fix an NULL dereference bug
  - [Backport 9020513afafe] fs/ntfs3: Add null pointer checks
  - [Backport 9c6684360692] fs/ntfs3: Modified fix directory element type detection
  - [Backport 1970b5f2048f] fs/ntfs3: Improve ntfs_dir_count
  - [Backport 25d1694d6e34] fs/ntfs3: Correct hard links updating when dealing with DOS names
  - [Backport a9f7d7656fbc] fs/ntfs3: Print warning while fixing hard links count
  - [Backport 95bad562e575] fs/ntfs3: Fix detected field-spanning write (size 8) of single field "le->name"
  - [Backport 50545eb6cd5f] fs/ntfs3: Add NULL ptr dereference checking at the end of attr_allocate_frame()
  - [Backport ee12c3102027] fs/ntfs3: Disable ATTR_LIST_ENTRY size check
  - [Backport 1c005ce9934c] fs/ntfs3: use non-movable memory for ntfs3 MFT buffer cache
  - [Backport 0d2f804b9f54] fs/ntfs3: Prevent generic message "attempt to access beyond end of device"
  - [Backport 32a3974b26df] fs/ntfs3: Correct function is_rst_area_valid
  - [Backport 5d67a4ff3dfe] fs/ntfs3: Update inode->i_size after success write into compressed file
  - [Backport 6ed6cdbe8833] fs/ntfs3: Fix oob in ntfs_listxattr
  - [Backport 277439e7cabd] fs/ntfs3: Enhance the attribute size check
  - [Backport 39c631200957] fs/ntfs3: Fix a possible null-pointer dereference in ni_clear()
  - [Backport 0d04e45c65f0] fs/ntfs3: Add length check in indx_get_root
  - [Backport b3152afc0eb8] fs/ntfs3: Fix NULL dereference in ni_write_inode
  - [Backport 329fc4d3f73d] fs/ntfs3: Fix NULL pointer dereference in 'ni_write_inode'
  - [Backport 0d625446d0a4] backing_dev: remove current->backing_dev_info


author: Peter Georg <peter.georg@physik.uni-regensburg.de>
changelog:
  - [Backport 138060ba92b3] fs: pass dentry to set acl method
  - [Backport cac2f8b8d8b5] fs: rename current get acl method
  - [Backport bd6ae049b7be] fs/ntfs3: Add comments about cluster size
  - [Backport 098250db5dfc] fs/ntfs3: Add hidedotfiles option
  - [Backport ae6b47b5653e] fs/ntfs3: Change destroy_inode to free_inode
  - [Backport 43f03acbc1ec] fs/ntfs3: Rename variables and add comment
  - [Backport f27b92ec0926] fs/ntfs3: Fix [df]mask display in /proc/mounts
  - [Backport 92f017c4aee6] fs/ntfs3: Use kmalloc_array for allocating multiple elements
  - [Backport 0a4e7ce6bc03] fs/ntfs3: Fix junction point resolution
  - [Backport a3a956c78efa] fs/ntfs3: Add option "nocase"
  - [Backport e001e6086939] fs/ntfs3: Harden against integer overflows
  - [Backport d45da67caeda] fs/ntfs3: Use strcmp to determine attribute type
  - [Backport 0d6d7c61ffee] fs/ntfs3: Don't use uni1 uninitialized in ntfs_d_compare()
  - [Backport 75b5e4720132] fs/ntfs3: Eliminate unnecessary ternary operator in ntfs_d_compare()
  - [Backport 1d07a9dfa199] fs/ntfs3: Add windows_names mount option
  - [Backport 4c9ba192c73f] fs/ntfs3: Fix hidedotfiles mount option by reversing behaviour
  - [Backport 66223324cba4] fs/ntfs3: Make hidedotfiles mount option work when renaming files
  - [Backport 19b424501d85] fs/ntfs3: Add hidedotfiles to the list of enabled mount options
  - [Backport dc0fcc99b175] fs/ntfs3: Rename hidedotfiles mount option to hide_dot_files
  - [Backport 0d19f3d71394] fs/ntfs3: Add system.ntfs_attrib_be extended attribute
  - [Backport 90c1cd540cc8] fs/ntfs3: Fix endian conversion in ni_fname_name
  - [Backport 88a8d0d2482f] fs/ntfs3: Add functions to modify LE bitmaps
  - [Backport 095d8ce635c1] fs/ntfs3: Use _le variants of bitops functions
  - [Backport 08811ba59a61] fs/ntfs3: Add ntfs_bitmap_weight_le function and refactoring
  - [Backport 9144b4382061] fs/ntfs3: Fix sparse problems
  - [Backport 3929042111de] fs/ntfs3: Remove unused functions
  - [Backport ba1189288905] fs/ntfs3: Simplify ntfs_update_mftmirr function
  - [Backport 2f56a3f8d824] fs/ntfs3: Fixing work with sparse clusters
  - [Backport c380b52f6c57] fs/ntfs3: Change new sparse cluster processing
  - [Backport 07f4aa9dd245] fs/ntfs3: Fix wrong indentations
  - [Backport 2b108260ea2c] fs/ntfs3: atomic_open implementation
  - [Backport ad26a9c84510] fs/ntfs3: Fixing wrong logic in attr_set_size and ntfs_fallocate
  - [Backport 0ad9dfcb8d3f] fs/ntfs3: Changing locking in ntfs_rename
  - [Backport 910013f7c7ba] fs/ntfs3: Restore correct state after ENOSPC in attr_data_get_block
  - [Backport 6f80ed14d76c] fs/ntfs3: Correct ntfs_check_for_free_space
  - [Backport e31195a3ac71] fs/ntfs3: Fix incorrect if in ntfs_set_acl_ex
  - [Backport 97a6815e5061] fs/ntfs3: Use ALIGN kernel macro
  - [Backport 60ce8dfde035] fs/ntfs3: Fix wrong if in hdr_first_de
  - [Backport ec5fc7201376] fs/ntfs3: Improve checking of bad clusters
  - [Backport 36963cf225f8] fs/ntfs3: Make if more readable
  - [Backport c1632a0f1120] fs: port ->setattr() to pass mnt_idmap
  - [Backport b74d24f7a74f] fs: port ->getattr() to pass mnt_idmap
  - [Backport 6c960e68aaed] fs: port ->create() to pass mnt_idmap
  - [Backport 7a77db95511c] fs: port ->symlink() to pass mnt_idmap
  - [Backport c54bd91e9eab] fs: port ->mkdir() to pass mnt_idmap
  - [Backport 5ebb29bee8d5] fs: port ->mknod() to pass mnt_idmap
  - [Backport e18275ae55e0] fs: port ->rename() to pass mnt_idmap
  - [Backport 13e83a4923be] fs: port ->set_acl() to pass mnt_idmap
  - [Backport 4609e1f18e19] fs: port ->permission() to pass mnt_idmap
  - [Backport 39f60c1ccee7] fs: port xattr to mnt_idmap
  - [Backport 700b7940526d] fs: port acl to mnt_idmap
  - [Backport f2d40141d5d9] fs: port inode_init_owner() to mnt_idmap
  - [Backport d4428bad14dd] ntfs3: stop using generic_writepages
  - [Backport 25a89826f270] ntfs3: remove ->writepage
  - [Backport d585bdbeb79a] fs: convert writepage_t callback to pass a folio


