1. 02 Feb, 2024 4 commits
  2. 18 Jan, 2024 17 commits
  3. 11 Jan, 2024 2 commits
    • Linus Torvalds's avatar
      Merge tag 'ext4_for_linus-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 · 0d19d9e1
      Linus Torvalds authored
      Pull ext4 updates from Ted Ts'o:
       "Various ext4 bug fixes and cleanups. The fixes are mostly in the
        fstrim and mballoc code paths.
      
        Also enable dioread_nolock in the case where the block size is less
        than the page size (dioread_nolock has been default in the bs == ps
        case for quite some time)"
      
      * tag 'ext4_for_linus-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4:
        ext4: fix inconsistent between segment fstrim and full fstrim
        ext4: fallback to complex scan if aligned scan doesn't work
        ext4: convert ext4_da_do_write_end() to take a folio
        ext4: allow for the last group to be marked as trimmed
        ext4: move ext4_check_bdev_write_error() into nojournal mode
        jbd2: abort journal when detecting metadata writeback error of fs dev
        jbd2: remove unused 'JBD2_CHECKPOINT_IO_ERROR' and 'j_atomic_flags'
        jbd2: replace journal state flag by checking errseq
        jbd2: add errseq to detect client fs's bdev writeback error
        ext4: improving calculation of 'fe_{len|start}' in mb_find_extent()
        ext4: clarify handling of unwritten bh in __ext4_block_zero_page_range()
        ext4: treat end of range as exclusive in ext4_zero_range()
        ext4: enable dioread_nolock as default for bs < ps case
        ext4: delete redundant calculations in ext4_mb_get_buddy_page_lock()
        ext4: reduce unnecessary memory allocation in alloc_flex_gd()
        ext4: avoid online resizing failures due to oversized flex bg
        ext4: remove unnecessary check from alloc_flex_gd()
        ext4: unify the type of flexbg_size to unsigned int
      0d19d9e1
    • Linus Torvalds's avatar
      Merge tag 'unicode-next-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/krisman/unicode · 6bd593bc
      Linus Torvalds authored
      Pull unicode updates from Gabriel Krisman Bertazi:
       "Other than the update to MAINTAINERS, this PR has only a fix to stop
        ecryptfs from inadvertently mounting case-insensitive filesystems that
        it cannot handle, which would otherwise caused post-mount failures"
      
      * tag 'unicode-next-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/krisman/unicode:
        MAINTAINERS: update unicode maintainer e-mail address
        ecryptfs: Reject casefold directory inodes
      6bd593bc
  4. 10 Jan, 2024 17 commits
    • David Howells's avatar
      keys, dns: Fix size check of V1 server-list header · acc65769
      David Howells authored
      Fix the size check added to dns_resolver_preparse() for the V1 server-list
      header so that it doesn't give EINVAL if the size supplied is the same as
      the size of the header struct (which should be valid).
      
      This can be tested with:
      
              echo -n -e '\0\0\01\xff\0\0' | keyctl padd dns_resolver desc @p
      
      which will give "add_key: Invalid argument" without this fix.
      
      Fixes: 1997b3cb ("keys, dns: Fix missing size check of V1 server-list header")
      Reported-by: default avatarPengfei Xu <pengfei.xu@intel.com>
      Link: https://lore.kernel.org/r/ZZ4fyY4r3rqgZL+4@xpf.sh.intel.com/Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      acc65769
    • Linus Torvalds's avatar
      Merge tag 'v6.8-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 · 0cb552aa
      Linus Torvalds authored
      Pull crypto updates from Herbert Xu:
       "API:
         - Add incremental lskcipher/skcipher processing
      
        Algorithms:
         - Remove SHA1 from drbg
         - Remove CFB and OFB
      
        Drivers:
         - Add comp high perf mode configuration in hisilicon/zip
         - Add support for 420xx devices in qat
         - Add IAA Compression Accelerator driver"
      
      * tag 'v6.8-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (172 commits)
        crypto: iaa - Account for cpu-less numa nodes
        crypto: scomp - fix req->dst buffer overflow
        crypto: sahara - add support for crypto_engine
        crypto: sahara - remove error message for bad aes request size
        crypto: sahara - remove unnecessary NULL assignments
        crypto: sahara - remove 'active' flag from sahara_aes_reqctx struct
        crypto: sahara - use dev_err_probe()
        crypto: sahara - use devm_clk_get_enabled()
        crypto: sahara - use BIT() macro
        crypto: sahara - clean up macro indentation
        crypto: sahara - do not resize req->src when doing hash operations
        crypto: sahara - fix processing hash requests with req->nbytes < sg->length
        crypto: sahara - improve error handling in sahara_sha_process()
        crypto: sahara - fix wait_for_completion_timeout() error handling
        crypto: sahara - fix ahash reqsize
        crypto: sahara - handle zero-length aes requests
        crypto: skcipher - remove excess kerneldoc members
        crypto: shash - remove excess kerneldoc members
        crypto: qat - generate dynamically arbiter mappings
        crypto: qat - add support for ring pair level telemetry
        ...
      0cb552aa
    • Linus Torvalds's avatar
      Merge tag 'tpmdd-v6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd · 6434eade
      Linus Torvalds authored
      Pull tpm updates from Jarkko Sakkinen:
       "Just a couple fixes and no new features"
      
      * tag 'tpmdd-v6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd:
        tpm: cr50: fix kernel-doc warning and spelling
        tpm: nuvoton: Use i2c_get_match_data()
      6434eade
    • Linus Torvalds's avatar
      Merge tag 'hardening-v6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux · 120a201b
      Linus Torvalds authored
      Pull hardening updates from Kees Cook:
      
       - Introduce the param_unknown_fn type and other clean ups (Andy
         Shevchenko)
      
       - Various __counted_by annotations (Christophe JAILLET, Gustavo A. R.
         Silva, Kees Cook)
      
       - Add KFENCE test to LKDTM (Stephen Boyd)
      
       - Various strncpy() refactorings (Justin Stitt)
      
       - Fix qnx4 to avoid writing into the smaller of two overlapping buffers
      
       - Various strlcpy() refactorings
      
      * tag 'hardening-v6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
        qnx4: Use get_directory_fname() in qnx4_match()
        qnx4: Extract dir entry filename processing into helper
        atags_proc: Add __counted_by for struct buffer and use struct_size()
        tracing/uprobe: Replace strlcpy() with strscpy()
        params: Fix multi-line comment style
        params: Sort headers
        params: Use size_add() for kmalloc()
        params: Do not go over the limit when getting the string length
        params: Introduce the param_unknown_fn type
        lkdtm: Add kfence read after free crash type
        nvme-fc: replace deprecated strncpy with strscpy
        nvdimm/btt: replace deprecated strncpy with strscpy
        nvme-fabrics: replace deprecated strncpy with strscpy
        drm/modes: replace deprecated strncpy with strscpy_pad
        afs: Add __counted_by for struct afs_acl and use struct_size()
        VMCI: Annotate struct vmci_handle_arr with __counted_by
        i40e: Annotate struct i40e_qvlist_info with __counted_by
        HID: uhid: replace deprecated strncpy with strscpy
        samples: Replace strlcpy() with strscpy()
        SUNRPC: Replace strlcpy() with strscpy()
      120a201b
    • Ye Bin's avatar
      ext4: fix inconsistent between segment fstrim and full fstrim · 68da4c44
      Ye Bin authored
      Suppose we issue two FITRIM ioctls for ranges [0,15] and [16,31] with
      mininum length of trimmed range set to 8 blocks. If we have say a range of
      blocks 10-22 free, this range will not be trimmed because it straddles the
      boundary of the two FITRIM ranges and neither part is big enough. This is a
      bit surprising to some users that call FITRIM on smaller ranges of blocks
      to limit impact on the system. Also XFS trims all free space extents that
      overlap with the specified range so we are inconsistent among filesystems.
      Let's change ext4_try_to_trim_range() to consider for trimming the whole
      free space extent that straddles the end of specified range, not just the
      part of it within the range.
      Signed-off-by: default avatarYe Bin <yebin10@huawei.com>
      Reviewed-by: default avatarJan Kara <jack@suse.cz>
      Link: https://lore.kernel.org/r/20231216010919.1995851-1-yebin10@huawei.comSigned-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
      68da4c44
    • Ojaswin Mujoo's avatar
      ext4: fallback to complex scan if aligned scan doesn't work · 1f6bc02f
      Ojaswin Mujoo authored
      Currently in case the goal length is a multiple of stripe size we use
      ext4_mb_scan_aligned() to find the stripe size aligned physical blocks.
      In case we are not able to find any, we again go back to calling
      ext4_mb_choose_next_group() to search for a different suitable block
      group. However, since the linear search always begins from the start,
      most of the times we end up with the same BG and the cycle continues.
      
      With large fliesystems, the CPU can be stuck in this loop for hours
      which can slow down the whole system. Hence, until we figure out a
      better way to continue the search (rather than starting from beginning)
      in ext4_mb_choose_next_group(), lets just fallback to
      ext4_mb_complex_scan_group() in case aligned scan fails, as it is much
      more likely to find the needed blocks.
      Signed-off-by: default avatarOjaswin Mujoo <ojaswin@linux.ibm.com>
      Reviewed-by: default avatarJan Kara <jack@suse.cz>
      Link: https://lore.kernel.org/r/ee033f6dfa0a7f2934437008a909c3788233950f.1702455010.git.ojaswin@linux.ibm.comSigned-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
      1f6bc02f
    • Matthew Wilcox (Oracle)'s avatar
      ext4: convert ext4_da_do_write_end() to take a folio · 4d5cdd75
      Matthew Wilcox (Oracle) authored
      There's nothing page-specific happening in ext4_da_do_write_end();
      it's merely used for its refcount & lock, both of which are folio
      properties.  Saves four calls to compound_head().
      Signed-off-by: default avatarMatthew Wilcox (Oracle) <willy@infradead.org>
      Reviewed-by: default avatarJan Kara <jack@suse.cz>
      Link: https://lore.kernel.org/r/20231214053035.1018876-1-willy@infradead.orgSigned-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
      4d5cdd75
    • Suraj Jitindar Singh's avatar
      ext4: allow for the last group to be marked as trimmed · 7c784d62
      Suraj Jitindar Singh authored
      The ext4 filesystem tracks the trim status of blocks at the group
      level.  When an entire group has been trimmed then it is marked as
      such and subsequent trim invocations with the same minimum trim size
      will not be attempted on that group unless it is marked as able to be
      trimmed again such as when a block is freed.
      
      Currently the last group can't be marked as trimmed due to incorrect
      logic in ext4_last_grp_cluster(). ext4_last_grp_cluster() is supposed
      to return the zero based index of the last cluster in a group. This is
      then used by ext4_try_to_trim_range() to determine if the trim
      operation spans the entire group and as such if the trim status of the
      group should be recorded.
      
      ext4_last_grp_cluster() takes a 0 based group index, thus the valid
      values for grp are 0..(ext4_get_groups_count - 1). Any group index
      less than (ext4_get_groups_count - 1) is not the last group and must
      have EXT4_CLUSTERS_PER_GROUP(sb) clusters. For the last group we need
      to calculate the number of clusters based on the number of blocks in
      the group. Finally subtract 1 from the number of clusters as zero
      based indexing is expected.  Rearrange the function slightly to make
      it clear what we are calculating and returning.
      
      Reproducer:
      // Create file system where the last group has fewer blocks than
      // blocks per group
      $ mkfs.ext4 -b 4096 -g 8192 /dev/nvme0n1 8191
      $ mount /dev/nvme0n1 /mnt
      
      Before Patch:
      $ fstrim -v /mnt
      /mnt: 25.9 MiB (27156480 bytes) trimmed
      // Group not marked as trimmed so second invocation still discards blocks
      $ fstrim -v /mnt
      /mnt: 25.9 MiB (27156480 bytes) trimmed
      
      After Patch:
      fstrim -v /mnt
      /mnt: 25.9 MiB (27156480 bytes) trimmed
      // Group marked as trimmed so second invocation DOESN'T discard any blocks
      fstrim -v /mnt
      /mnt: 0 B (0 bytes) trimmed
      
      Fixes: 45e4ab32 ("ext4: move setting of trimmed bit into ext4_try_to_trim_range()")
      Cc:  <stable@vger.kernel.org> # 4.19+
      Signed-off-by: default avatarSuraj Jitindar Singh <surajjs@amazon.com>
      Reviewed-by: default avatarJan Kara <jack@suse.cz>
      Link: https://lore.kernel.org/r/20231213051635.37731-1-surajjs@amazon.comSigned-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
      7c784d62
    • Linus Torvalds's avatar
      Merge tag 'pstore-v6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux · 72116efd
      Linus Torvalds authored
      Pull pstore updates from Kees Cook:
      
       - Do not allow misconfigured ECC sizes (Sergey Shtylyov)
      
       - Allow for odd number of CPUs (Weichen Chen)
      
       - Refactor error handling to use cleanup.h
      
      * tag 'pstore-v6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
        pstore: inode: Use cleanup.h for struct pstore_private
        pstore: inode: Use __free(pstore_iput) for inode allocations
        pstore: inode: Convert mutex usage to guard(mutex)
        pstore: inode: Convert kfree() usage to __free(kfree)
        pstore: ram_core: fix possible overflow in persistent_ram_init_ecc()
        pstore/ram: Fix crash when setting number of cpus to an odd number
      72116efd
    • Linus Torvalds's avatar
      Merge tag 'ovl-update-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs · 4d925f60
      Linus Torvalds authored
      Pull overlayfs updates from Amir Goldstein:
       "This is a very small update with no bug fixes and no new features.
      
        The larger update of overlayfs for this cycle, the re-factoring of
        overlayfs code into generic backing_file helpers, was already merged
        via Christian.
      
        Summary:
      
         - Simplify/clarify some code
      
           No bug fixes here, just some changes following questions from Al
           about overlayfs code that could be a little more simple to follow.
      
         - Overlayfs documentation style fixes
      
           Mainly fixes for ReST formatting suggested by documentation
           developers"
      
      * tag 'ovl-update-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs:
        overlayfs.rst: fix ReST formatting
        overlayfs.rst: use consistent feature names
        ovl: initialize ovl_copy_up_ctx.destname inside ovl_do_copy_up()
        ovl: remove redundant ofs->indexdir member
      4d925f60
    • Linus Torvalds's avatar
      Merge tag 'erofs-for-6.8-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs · 0507d252
      Linus Torvalds authored
      Pull erofs updates from Gao Xiang:
       "In this cycle, we'd like to enable basic sub-page compressed data
        support for Android ecosystem (for vendors to try out 16k page size
        with 4k-block images in their compatibility mode) as well as container
        images (so that 4k-block images can be parsed on arm64 cloud servers
        using 64k page size.)
      
        In addition, there are several bugfixes and cleanups as usual. All
        commits have been in -next for a while and no potential merge conflict
        is observed.
      
        Summary:
      
         - Add basic sub-page compressed data support
      
         - Fix a memory leak on MicroLZMA and DEFLATE compression
      
         - Fix a rare LZ4 inplace decompression issue on recent x86 CPUs
      
         - Fix a KASAN issue reported by syzbot around crafted images
      
         - Some cleanups"
      
      * tag 'erofs-for-6.8-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs:
        erofs: make erofs_{err,info}() support NULL sb parameter
        erofs: avoid debugging output for (de)compressed data
        erofs: allow partially filled compressed bvecs
        erofs: enable sub-page compressed block support
        erofs: refine z_erofs_transform_plain() for sub-page block support
        erofs: fix ztailpacking for subpage compressed blocks
        erofs: fix up compacted indexes for block size < 4096
        erofs: record `pclustersize` in bytes instead of pages
        erofs: support I/O submission for sub-page compressed blocks
        erofs: fix lz4 inplace decompression
        erofs: fix memory leak on short-lived bounced pages
      0507d252
    • Linus Torvalds's avatar
      Merge tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/linux · 17b9e388
      Linus Torvalds authored
      Pull fscrypt updates from Eric Biggers:
       "Adjust the timing of the fscrypt keyring destruction, to prepare for
        btrfs's fscrypt support.
      
        Also document that CephFS supports fscrypt now"
      
      * tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/linux:
        fs: move fscrypt keyring destruction to after ->put_super
        f2fs: move release of block devices to after kill_block_super()
        fscrypt: document that CephFS supports fscrypt now
        fscrypt: update comment for do_remove_key()
        fscrypt.rst: update definition of struct fscrypt_context_v2
      17b9e388
    • Linus Torvalds's avatar
      Merge tag 'nfsd-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux · 49f48103
      Linus Torvalds authored
      Pull nfsd updates from Chuck Lever:
       "The bulk of the patches for this release are clean-ups and minor bug
        fixes.
      
        There is one significant revert to mention: support for RDMA Read
        operations in the server's RPC-over-RDMA transport implementation has
        been fixed so it waits for Read completion in a way that avoids tying
        up an nfsd thread. This prevents a possible DoS vector if an
        RPC-over-RDMA client should become unresponsive during RDMA Read
        operations.
      
        As always I am grateful to NFSD contributors, reviewers, and testers"
      
      * tag 'nfsd-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux: (56 commits)
        nfsd: rename nfsd_last_thread() to nfsd_destroy_serv()
        SUNRPC: discard sv_refcnt, and svc_get/svc_put
        svc: don't hold reference for poolstats, only mutex.
        SUNRPC: remove printk when back channel request not found
        svcrdma: Implement multi-stage Read completion again
        svcrdma: Copy construction of svc_rqst::rq_arg to rdma_read_complete()
        svcrdma: Add back svcxprt_rdma::sc_read_complete_q
        svcrdma: Add back svc_rdma_recv_ctxt::rc_pages
        svcrdma: Clean up comment in svc_rdma_accept()
        svcrdma: Remove queue-shortening warnings
        svcrdma: Remove pointer addresses shown in dprintk()
        svcrdma: Optimize svc_rdma_cc_init()
        svcrdma: De-duplicate completion ID initialization helpers
        svcrdma: Move the svc_rdma_cc_init() call
        svcrdma: Remove struct svc_rdma_read_info
        svcrdma: Update the synopsis of svc_rdma_read_special()
        svcrdma: Update the synopsis of svc_rdma_read_call_chunk()
        svcrdma: Update synopsis of svc_rdma_read_multiple_chunks()
        svcrdma: Update synopsis of svc_rdma_copy_inline_range()
        svcrdma: Update the synopsis of svc_rdma_read_data_item()
        ...
      49f48103
    • Linus Torvalds's avatar
      Merge tag 'dlm-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm · d8c8e595
      Linus Torvalds authored
      Pull dlm updates from David Teigland:
       "This set cleans up the interface between nfs lockd and dlm, which is
        handling nfs file locking for gfs2 and ocfs2. Very basic lockd
        functionality is fixed, in which the fl owner was using the lockd pid
        instead of the owner value from nfs"
      
      * tag 'dlm-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm:
        dlm: update format header reflect current format
        dlm: fix format seq ops type 4
        dlm: implement EXPORT_OP_ASYNC_LOCK
        dlm: use FL_SLEEP to determine blocking vs non-blocking
        dlm: use fl_owner from lockd
        dlm: use kernel_connect() and kernel_bind()
      d8c8e595
    • Linus Torvalds's avatar
      Merge tag 'afs-fix-rotation-20240105' of... · 0c59ae12
      Linus Torvalds authored
      Merge tag 'afs-fix-rotation-20240105' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs
      
      Pull afs updates from David Howells:
       "The majority of the patches are aimed at fixing and improving the AFS
        filesystem's rotation over server IP addresses, but there are also
        some fixes from Oleg Nesterov for the use of read_seqbegin_or_lock().
      
         - Fix fileserver probe handling so that the next round of probes
           doesn't break ongoing server/address rotation by clearing all the
           probe result tracking. This could occasionally cause the rotation
           algorithm to drop straight through, give a 'successful' result
           without actually emitting any RPC calls, leaving the reply buffer
           in an undefined state.
      
           Instead, detach the probe results into a separate struct and
           allocate a new one each time we start probing and update the
           pointer to it. Probes are also sent in order of address preference
           to try and improve the chance that the preferred one will complete
           first.
      
         - Fix server rotation so that it uses configurable address
           preferences across on the probes that have completed so far than
           ranking them by RTT as the latter doesn't necessarily give the best
           route. The preference list can be altered by writing into
           /proc/net/afs/addr_prefs.
      
         - Fix the handling of Read-Only (and Backup) volume callbacks as
           there is one per volume, not one per file, so if someone performs a
           command that, say, offlines the volume but doesn't change it, when
           it comes back online we don't spam the server with a status fetch
           for every vnode we're using. Instead, check the Creation timestamp
           in the VolSync record when prompted by a callback break.
      
         - Handle volume regression (ie. a RW volume being restored from a
           backup) by scrubbing all cache data for that volume. This is
           detected from the VolSync creation timestamp.
      
         - Adjust abort handling and abort -> error mapping to match better
           with what other AFS clients do.
      
         - Fix offline and busy volume state handling as they only apply to
           individual server instances and not entire volumes and the rotation
           algorithm should go and look at other servers if available. Also
           make it sleep briefly before each retry if all the volume instances
           are unavailable"
      
      * tag 'afs-fix-rotation-20240105' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs: (40 commits)
        afs: trace: Log afs_make_call(), including server address
        afs: Fix offline and busy message emission
        afs: Fix fileserver rotation
        afs: Overhaul invalidation handling to better support RO volumes
        afs: Parse the VolSync record in the reply of a number of RPC ops
        afs: Don't leave DONTUSE/NEWREPSITE servers out of server list
        afs: Fix comment in afs_do_lookup()
        afs: Apply server breaks to mmap'd files in the call processor
        afs: Move the vnode/volume validity checking code into its own file
        afs: Defer volume record destruction to a workqueue
        afs: Make it possible to find the volumes that are using a server
        afs: Combine the endpoint state bools into a bitmask
        afs: Keep a record of the current fileserver endpoint state
        afs: Dispatch vlserver probes in priority order
        afs: Dispatch fileserver probes in priority order
        afs: Mark address lists with configured priorities
        afs: Provide a way to configure address priorities
        afs: Remove the unimplemented afs_cmp_addr_list()
        afs: Add some more info to /proc/net/afs/servers
        rxrpc: Create a procfile to display outstanding client conn bundles
        ...
      0c59ae12
    • Linus Torvalds's avatar
      Merge tag 'jfs-6.8' of github.com:kleikamp/linux-shaggy · 032500ab
      Linus Torvalds authored
      Pull jfs updates from David Kleikamp:
       "Stability improvements"
      
      * tag 'jfs-6.8' of github.com:kleikamp/linux-shaggy:
        jfs: Add missing set_freezable() for freezable kthread
        jfs: fix array-index-out-of-bounds in diNewExt
        jfs: fix shift-out-of-bounds in dbJoin
        jfs: fix uaf in jfs_evict_inode
        jfs: fix array-index-out-of-bounds in dbAdjTree
        jfs: fix slab-out-of-bounds Read in dtSearch
        UBSAN: array-index-out-of-bounds in dtSplitRoot
        FS:JFS:UBSAN:array-index-out-of-bounds in dbAdjTree
      032500ab
    • Linus Torvalds's avatar
      Merge tag 'gfs2-v6.7-rc1-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2 · bfed9a92
      Linus Torvalds authored
      Pull gfs2 updates from Andreas Gruenbacher:
      
       - Add support for non-blocking lookup (MAY_NOT_BLOCK / LOOKUP_RCU)
      
       - Various minor fixes and cleanups
      
      * tag 'gfs2-v6.7-rc1-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2:
        gfs2: Fix freeze consistency check in log_write_header
        gfs2: Refcounting fix in gfs2_thaw_super
        gfs2: Minor gfs2_{freeze,thaw}_super cleanup
        gfs2: Use wait_event_freezable_timeout() for freezable kthread
        gfs2: Add missing set_freezable() for freezable kthread
        gfs2: Remove use of error flag in journal reads
        gfs2: Lift withdraw check out of gfs2_ail1_empty
        gfs2: Rename gfs2_withdrawn to gfs2_withdrawing_or_withdrawn
        gfs2: Mark withdraws as unlikely
        gfs2: Minor gfs2_ail1_empty cleanup
        gfs2: use is_subdir()
        gfs2: d_obtain_alias(ERR_PTR(...)) will do the right thing
        gfs2: Use GL_NOBLOCK flag for non-blocking lookups
        gfs2: Add GL_NOBLOCK flag
        gfs2: rgrp: fix kernel-doc warnings
        gfs2: fix kernel BUG in gfs2_quota_cleanup
        gfs2: Fix inode_go_instantiate description
        gfs2: Fix kernel NULL pointer dereference in gfs2_rgrp_dump
      bfed9a92