1. 26 Jan, 2023 4 commits
    • Jan Kara's avatar
      udf: Unify types in anchor block detection · bd904f3c
      Jan Kara authored
      When detecting last recorded block and from it derived anchor block
      position, we were mixing unsigned long, u32, and sector_t types. Since
      udf supports only 32-bit block numbers this is harmless but sometimes
      makes things awkward. Convert everything to udf_pblk_t and also handle
      the situation when block device size would not fit into udf_pblk_t.
      Signed-off-by: default avatarJan Kara <jack@suse.cz>
      bd904f3c
    • Jan Kara's avatar
      udf: Fix directory iteration for longer tail extents · 1ea1cd11
      Jan Kara authored
      When directory's last extent has more that one block and its length is
      not multiple of a block side, the code wrongly decided to move to the
      next extent instead of processing the last partial block. This led to
      directory corruption. Fix the rounding issue.
      Signed-off-by: default avatarJan Kara <jack@suse.cz>
      1ea1cd11
    • Jan Kara's avatar
      udf: Propagate errors from udf_advance_blk() · ee454ad2
      Jan Kara authored
      When we spot directory corruption when trying to load next directory
      extent, we didn't propagate the error up properly, leading to possibly
      indefinite looping on corrupted directories. Fix the problem by
      propagating the error properly.
      Signed-off-by: default avatarJan Kara <jack@suse.cz>
      ee454ad2
    • Jan Kara's avatar
      udf: Zero udf name padding · 3bea4ae1
      Jan Kara authored
      Padding of name in the directory entry needs to be zeroed out. Fix it.
      Signed-off-by: default avatarJan Kara <jack@suse.cz>
      3bea4ae1
  2. 16 Jan, 2023 1 commit
  3. 09 Jan, 2023 32 commits
  4. 08 Jan, 2023 3 commits
    • Linus Torvalds's avatar
      Merge tag 'xfs-6.2-fixes-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · 1fe4fd6f
      Linus Torvalds authored
      Pull xfs fixes from Darrick Wong:
      
       - Remove some incorrect assertions
      
       - Fix compiler warnings about variables that could be static
      
       - Fix an off by one error when computing the maximum btree height that
         can cause repair failures
      
       - Fix the bulkstat-single ioctl not returning the root inode when asked
         to do that
      
       - Convey NOFS state to inodegc workers to avoid recursion in reclaim
      
       - Fix unnecessary variable initializations
      
       - Fix a bug that could result in corruption of the busy extent tree
      
      * tag 'xfs-6.2-fixes-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
        xfs: fix extent busy updating
        xfs: xfs_qm: remove unnecessary ‘0’ values from error
        xfs: Fix deadlock on xfs_inodegc_worker
        xfs: get root inode correctly at bulkstat
        xfs: fix off-by-one error in xfs_btree_space_to_height
        xfs: make xfs_iomap_page_ops static
        xfs: don't assert if cmap covers imap after cycling lock
      1fe4fd6f
    • Linus Torvalds's avatar
      Linux 6.2-rc3 · b7bfaa76
      Linus Torvalds authored
      b7bfaa76
    • Linus Torvalds's avatar
      Merge tag 'powerpc-6.2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · 93928d48
      Linus Torvalds authored
      Pull powerpc fixes from Michael Ellerman:
      
       - Three fixes for various bogosity in our linker script, revealed
         by the recent commit which changed discard behaviour with some
         toolchains.
      
      * tag 'powerpc-6.2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        powerpc/vmlinux.lds: Don't discard .comment
        powerpc/vmlinux.lds: Don't discard .rela* for relocatable builds
        powerpc/vmlinux.lds: Define RUNTIME_DISCARD_EXIT
      93928d48