stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: stable@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	patches@lists.linux.dev,
	syzbot+8576cfa84070dce4d59b@syzkaller.appspotmail.com,
	Johannes Thumshirn <johannes.thumshirn@wdc.com>,
	Josef Bacik <josef@toxicpanda.com>, Qu Wenruo <wqu@suse.com>,
	Filipe Manana <fdmanana@suse.com>,
	David Sterba <dsterba@suse.com>, Sasha Levin <sashal@kernel.org>
Subject: [PATCH 6.9 047/222] btrfs: use NOFS context when getting inodes during logging and log replay
Date: Tue,  2 Jul 2024 19:01:25 +0200	[thread overview]
Message-ID: <20240702170245.774883613@linuxfoundation.org> (raw)
In-Reply-To: <20240702170243.963426416@linuxfoundation.org>

6.9-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Filipe Manana <fdmanana@suse.com>

[ Upstream commit d1825752e3074b5ff8d7f6016160e2b7c5c367ca ]

During inode logging (and log replay too), we are holding a transaction
handle and we often need to call btrfs_iget(), which will read an inode
from its subvolume btree if it's not loaded in memory and that results in
allocating an inode with GFP_KERNEL semantics at the btrfs_alloc_inode()
callback - and this may recurse into the filesystem in case we are under
memory pressure and attempt to commit the current transaction, resulting
in a deadlock since the logging (or log replay) task is holding a
transaction handle open.

Syzbot reported this with the following stack traces:

  WARNING: possible circular locking dependency detected
  6.10.0-rc2-syzkaller-00361-g061d1af7b030 #0 Not tainted
  ------------------------------------------------------
  syz-executor.1/9919 is trying to acquire lock:
  ffffffff8dd3aac0 (fs_reclaim){+.+.}-{0:0}, at: might_alloc include/linux/sched/mm.h:334 [inline]
  ffffffff8dd3aac0 (fs_reclaim){+.+.}-{0:0}, at: slab_pre_alloc_hook mm/slub.c:3891 [inline]
  ffffffff8dd3aac0 (fs_reclaim){+.+.}-{0:0}, at: slab_alloc_node mm/slub.c:3981 [inline]
  ffffffff8dd3aac0 (fs_reclaim){+.+.}-{0:0}, at: kmem_cache_alloc_lru_noprof+0x58/0x2f0 mm/slub.c:4020

  but task is already holding lock:
  ffff88804b569358 (&ei->log_mutex){+.+.}-{3:3}, at: btrfs_log_inode+0x39c/0x4660 fs/btrfs/tree-log.c:6481

  which lock already depends on the new lock.

  the existing dependency chain (in reverse order) is:

  -> #3 (&ei->log_mutex){+.+.}-{3:3}:
         __mutex_lock_common kernel/locking/mutex.c:608 [inline]
         __mutex_lock+0x175/0x9c0 kernel/locking/mutex.c:752
         btrfs_log_inode+0x39c/0x4660 fs/btrfs/tree-log.c:6481
         btrfs_log_inode_parent+0x8cb/0x2a90 fs/btrfs/tree-log.c:7079
         btrfs_log_dentry_safe+0x59/0x80 fs/btrfs/tree-log.c:7180
         btrfs_sync_file+0x9c1/0xe10 fs/btrfs/file.c:1959
         vfs_fsync_range+0x141/0x230 fs/sync.c:188
         generic_write_sync include/linux/fs.h:2794 [inline]
         btrfs_do_write_iter+0x584/0x10c0 fs/btrfs/file.c:1705
         new_sync_write fs/read_write.c:497 [inline]
         vfs_write+0x6b6/0x1140 fs/read_write.c:590
         ksys_write+0x12f/0x260 fs/read_write.c:643
         do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline]
         __do_fast_syscall_32+0x73/0x120 arch/x86/entry/common.c:386
         do_fast_syscall_32+0x32/0x80 arch/x86/entry/common.c:411
         entry_SYSENTER_compat_after_hwframe+0x84/0x8e

  -> #2 (btrfs_trans_num_extwriters){++++}-{0:0}:
         join_transaction+0x164/0xf40 fs/btrfs/transaction.c:315
         start_transaction+0x427/0x1a70 fs/btrfs/transaction.c:700
         btrfs_commit_super+0xa1/0x110 fs/btrfs/disk-io.c:4170
         close_ctree+0xcb0/0xf90 fs/btrfs/disk-io.c:4324
         generic_shutdown_super+0x159/0x3d0 fs/super.c:642
         kill_anon_super+0x3a/0x60 fs/super.c:1226
         btrfs_kill_super+0x3b/0x50 fs/btrfs/super.c:2096
         deactivate_locked_super+0xbe/0x1a0 fs/super.c:473
         deactivate_super+0xde/0x100 fs/super.c:506
         cleanup_mnt+0x222/0x450 fs/namespace.c:1267
         task_work_run+0x14e/0x250 kernel/task_work.c:180
         resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
         exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
         exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
         __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
         syscall_exit_to_user_mode+0x278/0x2a0 kernel/entry/common.c:218
         __do_fast_syscall_32+0x80/0x120 arch/x86/entry/common.c:389
         do_fast_syscall_32+0x32/0x80 arch/x86/entry/common.c:411
         entry_SYSENTER_compat_after_hwframe+0x84/0x8e

  -> #1 (btrfs_trans_num_writers){++++}-{0:0}:
         __lock_release kernel/locking/lockdep.c:5468 [inline]
         lock_release+0x33e/0x6c0 kernel/locking/lockdep.c:5774
         percpu_up_read include/linux/percpu-rwsem.h:99 [inline]
         __sb_end_write include/linux/fs.h:1650 [inline]
         sb_end_intwrite include/linux/fs.h:1767 [inline]
         __btrfs_end_transaction+0x5ca/0x920 fs/btrfs/transaction.c:1071
         btrfs_commit_inode_delayed_inode+0x228/0x330 fs/btrfs/delayed-inode.c:1301
         btrfs_evict_inode+0x960/0xe80 fs/btrfs/inode.c:5291
         evict+0x2ed/0x6c0 fs/inode.c:667
         iput_final fs/inode.c:1741 [inline]
         iput.part.0+0x5a8/0x7f0 fs/inode.c:1767
         iput+0x5c/0x80 fs/inode.c:1757
         dentry_unlink_inode+0x295/0x480 fs/dcache.c:400
         __dentry_kill+0x1d0/0x600 fs/dcache.c:603
         dput.part.0+0x4b1/0x9b0 fs/dcache.c:845
         dput+0x1f/0x30 fs/dcache.c:835
         ovl_stack_put+0x60/0x90 fs/overlayfs/util.c:132
         ovl_destroy_inode+0xc6/0x190 fs/overlayfs/super.c:182
         destroy_inode+0xc4/0x1b0 fs/inode.c:311
         iput_final fs/inode.c:1741 [inline]
         iput.part.0+0x5a8/0x7f0 fs/inode.c:1767
         iput+0x5c/0x80 fs/inode.c:1757
         dentry_unlink_inode+0x295/0x480 fs/dcache.c:400
         __dentry_kill+0x1d0/0x600 fs/dcache.c:603
         shrink_kill fs/dcache.c:1048 [inline]
         shrink_dentry_list+0x140/0x5d0 fs/dcache.c:1075
         prune_dcache_sb+0xeb/0x150 fs/dcache.c:1156
         super_cache_scan+0x32a/0x550 fs/super.c:221
         do_shrink_slab+0x44f/0x11c0 mm/shrinker.c:435
         shrink_slab_memcg mm/shrinker.c:548 [inline]
         shrink_slab+0xa87/0x1310 mm/shrinker.c:626
         shrink_one+0x493/0x7c0 mm/vmscan.c:4790
         shrink_many mm/vmscan.c:4851 [inline]
         lru_gen_shrink_node+0x89f/0x1750 mm/vmscan.c:4951
         shrink_node mm/vmscan.c:5910 [inline]
         kswapd_shrink_node mm/vmscan.c:6720 [inline]
         balance_pgdat+0x1105/0x1970 mm/vmscan.c:6911
         kswapd+0x5ea/0xbf0 mm/vmscan.c:7180
         kthread+0x2c1/0x3a0 kernel/kthread.c:389
         ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
         ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244

  -> #0 (fs_reclaim){+.+.}-{0:0}:
         check_prev_add kernel/locking/lockdep.c:3134 [inline]
         check_prevs_add kernel/locking/lockdep.c:3253 [inline]
         validate_chain kernel/locking/lockdep.c:3869 [inline]
         __lock_acquire+0x2478/0x3b30 kernel/locking/lockdep.c:5137
         lock_acquire kernel/locking/lockdep.c:5754 [inline]
         lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5719
         __fs_reclaim_acquire mm/page_alloc.c:3801 [inline]
         fs_reclaim_acquire+0x102/0x160 mm/page_alloc.c:3815
         might_alloc include/linux/sched/mm.h:334 [inline]
         slab_pre_alloc_hook mm/slub.c:3891 [inline]
         slab_alloc_node mm/slub.c:3981 [inline]
         kmem_cache_alloc_lru_noprof+0x58/0x2f0 mm/slub.c:4020
         btrfs_alloc_inode+0x118/0xb20 fs/btrfs/inode.c:8411
         alloc_inode+0x5d/0x230 fs/inode.c:261
         iget5_locked fs/inode.c:1235 [inline]
         iget5_locked+0x1c9/0x2c0 fs/inode.c:1228
         btrfs_iget_locked fs/btrfs/inode.c:5590 [inline]
         btrfs_iget_path fs/btrfs/inode.c:5607 [inline]
         btrfs_iget+0xfb/0x230 fs/btrfs/inode.c:5636
         add_conflicting_inode fs/btrfs/tree-log.c:5657 [inline]
         copy_inode_items_to_log+0x1039/0x1e30 fs/btrfs/tree-log.c:5928
         btrfs_log_inode+0xa48/0x4660 fs/btrfs/tree-log.c:6592
         log_new_delayed_dentries fs/btrfs/tree-log.c:6363 [inline]
         btrfs_log_inode+0x27dd/0x4660 fs/btrfs/tree-log.c:6718
         btrfs_log_all_parents fs/btrfs/tree-log.c:6833 [inline]
         btrfs_log_inode_parent+0x22ba/0x2a90 fs/btrfs/tree-log.c:7141
         btrfs_log_dentry_safe+0x59/0x80 fs/btrfs/tree-log.c:7180
         btrfs_sync_file+0x9c1/0xe10 fs/btrfs/file.c:1959
         vfs_fsync_range+0x141/0x230 fs/sync.c:188
         generic_write_sync include/linux/fs.h:2794 [inline]
         btrfs_do_write_iter+0x584/0x10c0 fs/btrfs/file.c:1705
         do_iter_readv_writev+0x504/0x780 fs/read_write.c:741
         vfs_writev+0x36f/0xde0 fs/read_write.c:971
         do_pwritev+0x1b2/0x260 fs/read_write.c:1072
         __do_compat_sys_pwritev2 fs/read_write.c:1218 [inline]
         __se_compat_sys_pwritev2 fs/read_write.c:1210 [inline]
         __ia32_compat_sys_pwritev2+0x121/0x1b0 fs/read_write.c:1210
         do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline]
         __do_fast_syscall_32+0x73/0x120 arch/x86/entry/common.c:386
         do_fast_syscall_32+0x32/0x80 arch/x86/entry/common.c:411
         entry_SYSENTER_compat_after_hwframe+0x84/0x8e

  other info that might help us debug this:

  Chain exists of:
    fs_reclaim --> btrfs_trans_num_extwriters --> &ei->log_mutex

   Possible unsafe locking scenario:

         CPU0                    CPU1
         ----                    ----
    lock(&ei->log_mutex);
                                 lock(btrfs_trans_num_extwriters);
                                 lock(&ei->log_mutex);
    lock(fs_reclaim);

   *** DEADLOCK ***

  7 locks held by syz-executor.1/9919:
   #0: ffff88802be20420 (sb_writers#23){.+.+}-{0:0}, at: do_pwritev+0x1b2/0x260 fs/read_write.c:1072
   #1: ffff888065c0f8f0 (&sb->s_type->i_mutex_key#33){++++}-{3:3}, at: inode_lock include/linux/fs.h:791 [inline]
   #1: ffff888065c0f8f0 (&sb->s_type->i_mutex_key#33){++++}-{3:3}, at: btrfs_inode_lock+0xc8/0x110 fs/btrfs/inode.c:385
   #2: ffff888065c0f778 (&ei->i_mmap_lock){++++}-{3:3}, at: btrfs_inode_lock+0xee/0x110 fs/btrfs/inode.c:388
   #3: ffff88802be20610 (sb_internal#4){.+.+}-{0:0}, at: btrfs_sync_file+0x95b/0xe10 fs/btrfs/file.c:1952
   #4: ffff8880546323f0 (btrfs_trans_num_writers){++++}-{0:0}, at: join_transaction+0x430/0xf40 fs/btrfs/transaction.c:290
   #5: ffff888054632418 (btrfs_trans_num_extwriters){++++}-{0:0}, at: join_transaction+0x430/0xf40 fs/btrfs/transaction.c:290
   #6: ffff88804b569358 (&ei->log_mutex){+.+.}-{3:3}, at: btrfs_log_inode+0x39c/0x4660 fs/btrfs/tree-log.c:6481

  stack backtrace:
  CPU: 2 PID: 9919 Comm: syz-executor.1 Not tainted 6.10.0-rc2-syzkaller-00361-g061d1af7b030 #0
  Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
  Call Trace:
   <TASK>
   __dump_stack lib/dump_stack.c:88 [inline]
   dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114
   check_noncircular+0x31a/0x400 kernel/locking/lockdep.c:2187
   check_prev_add kernel/locking/lockdep.c:3134 [inline]
   check_prevs_add kernel/locking/lockdep.c:3253 [inline]
   validate_chain kernel/locking/lockdep.c:3869 [inline]
   __lock_acquire+0x2478/0x3b30 kernel/locking/lockdep.c:5137
   lock_acquire kernel/locking/lockdep.c:5754 [inline]
   lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5719
   __fs_reclaim_acquire mm/page_alloc.c:3801 [inline]
   fs_reclaim_acquire+0x102/0x160 mm/page_alloc.c:3815
   might_alloc include/linux/sched/mm.h:334 [inline]
   slab_pre_alloc_hook mm/slub.c:3891 [inline]
   slab_alloc_node mm/slub.c:3981 [inline]
   kmem_cache_alloc_lru_noprof+0x58/0x2f0 mm/slub.c:4020
   btrfs_alloc_inode+0x118/0xb20 fs/btrfs/inode.c:8411
   alloc_inode+0x5d/0x230 fs/inode.c:261
   iget5_locked fs/inode.c:1235 [inline]
   iget5_locked+0x1c9/0x2c0 fs/inode.c:1228
   btrfs_iget_locked fs/btrfs/inode.c:5590 [inline]
   btrfs_iget_path fs/btrfs/inode.c:5607 [inline]
   btrfs_iget+0xfb/0x230 fs/btrfs/inode.c:5636
   add_conflicting_inode fs/btrfs/tree-log.c:5657 [inline]
   copy_inode_items_to_log+0x1039/0x1e30 fs/btrfs/tree-log.c:5928
   btrfs_log_inode+0xa48/0x4660 fs/btrfs/tree-log.c:6592
   log_new_delayed_dentries fs/btrfs/tree-log.c:6363 [inline]
   btrfs_log_inode+0x27dd/0x4660 fs/btrfs/tree-log.c:6718
   btrfs_log_all_parents fs/btrfs/tree-log.c:6833 [inline]
   btrfs_log_inode_parent+0x22ba/0x2a90 fs/btrfs/tree-log.c:7141
   btrfs_log_dentry_safe+0x59/0x80 fs/btrfs/tree-log.c:7180
   btrfs_sync_file+0x9c1/0xe10 fs/btrfs/file.c:1959
   vfs_fsync_range+0x141/0x230 fs/sync.c:188
   generic_write_sync include/linux/fs.h:2794 [inline]
   btrfs_do_write_iter+0x584/0x10c0 fs/btrfs/file.c:1705
   do_iter_readv_writev+0x504/0x780 fs/read_write.c:741
   vfs_writev+0x36f/0xde0 fs/read_write.c:971
   do_pwritev+0x1b2/0x260 fs/read_write.c:1072
   __do_compat_sys_pwritev2 fs/read_write.c:1218 [inline]
   __se_compat_sys_pwritev2 fs/read_write.c:1210 [inline]
   __ia32_compat_sys_pwritev2+0x121/0x1b0 fs/read_write.c:1210
   do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline]
   __do_fast_syscall_32+0x73/0x120 arch/x86/entry/common.c:386
   do_fast_syscall_32+0x32/0x80 arch/x86/entry/common.c:411
   entry_SYSENTER_compat_after_hwframe+0x84/0x8e
  RIP: 0023:0xf7334579
  Code: b8 01 10 06 03 (...)
  RSP: 002b:00000000f5f265ac EFLAGS: 00000292 ORIG_RAX: 000000000000017b
  RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00000000200002c0
  RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000000
  RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
  R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000
  R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000

Fix this by ensuring we are under a NOFS scope whenever we call
btrfs_iget() during inode logging and log replay.

Reported-by: syzbot+8576cfa84070dce4d59b@syzkaller.appspotmail.com
Link: https://lore.kernel.org/linux-btrfs/000000000000274a3a061abbd928@google.com/
Fixes: 712e36c5f2a7 ("btrfs: use GFP_KERNEL in btrfs_alloc_inode")
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 fs/btrfs/tree-log.c | 43 ++++++++++++++++++++++++++++---------------
 1 file changed, 28 insertions(+), 15 deletions(-)

diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c
index d4fc5fedd8ee5..9d156aa8f20d1 100644
--- a/fs/btrfs/tree-log.c
+++ b/fs/btrfs/tree-log.c
@@ -138,6 +138,25 @@ static void wait_log_commit(struct btrfs_root *root, int transid);
  * and once to do all the other items.
  */
 
+static struct inode *btrfs_iget_logging(u64 objectid, struct btrfs_root *root)
+{
+	unsigned int nofs_flag;
+	struct inode *inode;
+
+	/*
+	 * We're holding a transaction handle whether we are logging or
+	 * replaying a log tree, so we must make sure NOFS semantics apply
+	 * because btrfs_alloc_inode() may be triggered and it uses GFP_KERNEL
+	 * to allocate an inode, which can recurse back into the filesystem and
+	 * attempt a transaction commit, resulting in a deadlock.
+	 */
+	nofs_flag = memalloc_nofs_save();
+	inode = btrfs_iget(root->fs_info->sb, objectid, root);
+	memalloc_nofs_restore(nofs_flag);
+
+	return inode;
+}
+
 /*
  * start a sub transaction and setup the log tree
  * this increments the log tree writer count to make the people
@@ -600,7 +619,7 @@ static noinline struct inode *read_one_inode(struct btrfs_root *root,
 {
 	struct inode *inode;
 
-	inode = btrfs_iget(root->fs_info->sb, objectid, root);
+	inode = btrfs_iget_logging(objectid, root);
 	if (IS_ERR(inode))
 		inode = NULL;
 	return inode;
@@ -5434,7 +5453,6 @@ static int log_new_dir_dentries(struct btrfs_trans_handle *trans,
 				struct btrfs_log_ctx *ctx)
 {
 	struct btrfs_root *root = start_inode->root;
-	struct btrfs_fs_info *fs_info = root->fs_info;
 	struct btrfs_path *path;
 	LIST_HEAD(dir_list);
 	struct btrfs_dir_list *dir_elem;
@@ -5495,7 +5513,7 @@ static int log_new_dir_dentries(struct btrfs_trans_handle *trans,
 				continue;
 
 			btrfs_release_path(path);
-			di_inode = btrfs_iget(fs_info->sb, di_key.objectid, root);
+			di_inode = btrfs_iget_logging(di_key.objectid, root);
 			if (IS_ERR(di_inode)) {
 				ret = PTR_ERR(di_inode);
 				goto out;
@@ -5555,7 +5573,7 @@ static int log_new_dir_dentries(struct btrfs_trans_handle *trans,
 		btrfs_add_delayed_iput(curr_inode);
 		curr_inode = NULL;
 
-		vfs_inode = btrfs_iget(fs_info->sb, ino, root);
+		vfs_inode = btrfs_iget_logging(ino, root);
 		if (IS_ERR(vfs_inode)) {
 			ret = PTR_ERR(vfs_inode);
 			break;
@@ -5650,7 +5668,7 @@ static int add_conflicting_inode(struct btrfs_trans_handle *trans,
 	if (ctx->num_conflict_inodes >= MAX_CONFLICT_INODES)
 		return BTRFS_LOG_FORCE_COMMIT;
 
-	inode = btrfs_iget(root->fs_info->sb, ino, root);
+	inode = btrfs_iget_logging(ino, root);
 	/*
 	 * If the other inode that had a conflicting dir entry was deleted in
 	 * the current transaction then we either:
@@ -5751,7 +5769,6 @@ static int log_conflicting_inodes(struct btrfs_trans_handle *trans,
 				  struct btrfs_root *root,
 				  struct btrfs_log_ctx *ctx)
 {
-	struct btrfs_fs_info *fs_info = root->fs_info;
 	int ret = 0;
 
 	/*
@@ -5782,7 +5799,7 @@ static int log_conflicting_inodes(struct btrfs_trans_handle *trans,
 		list_del(&curr->list);
 		kfree(curr);
 
-		inode = btrfs_iget(fs_info->sb, ino, root);
+		inode = btrfs_iget_logging(ino, root);
 		/*
 		 * If the other inode that had a conflicting dir entry was
 		 * deleted in the current transaction, we need to log its parent
@@ -5793,7 +5810,7 @@ static int log_conflicting_inodes(struct btrfs_trans_handle *trans,
 			if (ret != -ENOENT)
 				break;
 
-			inode = btrfs_iget(fs_info->sb, parent, root);
+			inode = btrfs_iget_logging(parent, root);
 			if (IS_ERR(inode)) {
 				ret = PTR_ERR(inode);
 				break;
@@ -6315,7 +6332,6 @@ static int log_new_delayed_dentries(struct btrfs_trans_handle *trans,
 				    struct btrfs_log_ctx *ctx)
 {
 	const bool orig_log_new_dentries = ctx->log_new_dentries;
-	struct btrfs_fs_info *fs_info = trans->fs_info;
 	struct btrfs_delayed_item *item;
 	int ret = 0;
 
@@ -6341,7 +6357,7 @@ static int log_new_delayed_dentries(struct btrfs_trans_handle *trans,
 		if (key.type == BTRFS_ROOT_ITEM_KEY)
 			continue;
 
-		di_inode = btrfs_iget(fs_info->sb, key.objectid, inode->root);
+		di_inode = btrfs_iget_logging(key.objectid, inode->root);
 		if (IS_ERR(di_inode)) {
 			ret = PTR_ERR(di_inode);
 			break;
@@ -6725,7 +6741,6 @@ static int btrfs_log_all_parents(struct btrfs_trans_handle *trans,
 				 struct btrfs_inode *inode,
 				 struct btrfs_log_ctx *ctx)
 {
-	struct btrfs_fs_info *fs_info = trans->fs_info;
 	int ret;
 	struct btrfs_path *path;
 	struct btrfs_key key;
@@ -6790,8 +6805,7 @@ static int btrfs_log_all_parents(struct btrfs_trans_handle *trans,
 				cur_offset = item_size;
 			}
 
-			dir_inode = btrfs_iget(fs_info->sb, inode_key.objectid,
-					       root);
+			dir_inode = btrfs_iget_logging(inode_key.objectid, root);
 			/*
 			 * If the parent inode was deleted, return an error to
 			 * fallback to a transaction commit. This is to prevent
@@ -6853,7 +6867,6 @@ static int log_new_ancestors(struct btrfs_trans_handle *trans,
 	btrfs_item_key_to_cpu(path->nodes[0], &found_key, path->slots[0]);
 
 	while (true) {
-		struct btrfs_fs_info *fs_info = root->fs_info;
 		struct extent_buffer *leaf;
 		int slot;
 		struct btrfs_key search_key;
@@ -6868,7 +6881,7 @@ static int log_new_ancestors(struct btrfs_trans_handle *trans,
 		search_key.objectid = found_key.offset;
 		search_key.type = BTRFS_INODE_ITEM_KEY;
 		search_key.offset = 0;
-		inode = btrfs_iget(fs_info->sb, ino, root);
+		inode = btrfs_iget_logging(ino, root);
 		if (IS_ERR(inode))
 			return PTR_ERR(inode);
 
-- 
2.43.0




  parent reply	other threads:[~2024-07-02 17:09 UTC|newest]

Thread overview: 239+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-02 17:00 [PATCH 6.9 000/222] 6.9.8-rc1 review Greg Kroah-Hartman
2024-07-02 17:00 ` [PATCH 6.9 001/222] usb: typec: ucsi: Never send a lone connector change ack Greg Kroah-Hartman
2024-07-02 17:00 ` [PATCH 6.9 002/222] usb: typec: ucsi: Ack also failed Get Error commands Greg Kroah-Hartman
2024-07-02 17:00 ` [PATCH 6.9 003/222] pinctrl: renesas: rzg2l: Use spin_{lock,unlock}_irq{save,restore} Greg Kroah-Hartman
2024-07-02 17:00 ` [PATCH 6.9 004/222] Input: ili210x - fix ili251x_read_touch_data() return value Greg Kroah-Hartman
2024-07-02 17:00 ` [PATCH 6.9 005/222] pinctrl: fix deadlock in create_pinctrl() when handling -EPROBE_DEFER Greg Kroah-Hartman
2024-07-02 17:00 ` [PATCH 6.9 006/222] pinctrl: rockchip: fix pinmux bits for RK3328 GPIO2-B pins Greg Kroah-Hartman
2024-07-02 17:00 ` [PATCH 6.9 007/222] pinctrl: rockchip: fix pinmux bits for RK3328 GPIO3-B pins Greg Kroah-Hartman
2024-07-02 17:00 ` [PATCH 6.9 008/222] pinctrl: rockchip: use dedicated pinctrl type for RK3328 Greg Kroah-Hartman
2024-07-02 17:00 ` [PATCH 6.9 009/222] pinctrl: rockchip: fix pinmux reset in rockchip_pmx_set Greg Kroah-Hartman
2024-07-02 17:00 ` [PATCH 6.9 010/222] MIPS: pci: lantiq: restore reset gpio polarity Greg Kroah-Hartman
2024-07-02 17:00 ` [PATCH 6.9 011/222] pwm: stm32: Improve precision of calculation in .apply() Greg Kroah-Hartman
2024-07-02 17:00 ` [PATCH 6.9 012/222] pwm: stm32: Fix for settings using period > UINT32_MAX Greg Kroah-Hartman
2024-07-02 17:00 ` [PATCH 6.9 013/222] pwm: stm32: Calculate prescaler with a division instead of a loop Greg Kroah-Hartman
2024-07-02 17:00 ` [PATCH 6.9 014/222] pwm: stm32: Refuse too small period requests Greg Kroah-Hartman
2024-07-02 17:00 ` [PATCH 6.9 015/222] ASoC: cs42l43: Increase default type detect time and button delay Greg Kroah-Hartman
2024-07-02 17:00 ` [PATCH 6.9 016/222] ASoC: rockchip: i2s-tdm: Fix trcm mode by setting clock on right mclk Greg Kroah-Hartman
2024-07-02 17:00 ` [PATCH 6.9 017/222] ASoC: mediatek: mt8183-da7219-max98357: Fix kcontrol name collision Greg Kroah-Hartman
2024-07-02 17:00 ` [PATCH 6.9 018/222] ASoC: atmel: atmel-classd: Re-add dai_link->platform to fix card init Greg Kroah-Hartman
2024-07-02 17:00 ` [PATCH 6.9 019/222] workqueue: Increase worker descs length to 32 Greg Kroah-Hartman
2024-07-02 17:00 ` [PATCH 6.9 020/222] ASoC: q6apm-lpass-dai: close graph on prepare errors Greg Kroah-Hartman
2024-07-02 17:00 ` [PATCH 6.9 021/222] bpf: Add missed var_off setting in set_sext32_default_val() Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 022/222] bpf: Add missed var_off setting in coerce_subreg_to_size_sx() Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 023/222] s390/pci: Add missing virt_to_phys() for directed DIBV Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 024/222] s390/virtio_ccw: Fix config change notifications Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 025/222] bpf: Fix remap of arena Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 026/222] ASoC: amd: acp: add a null check for chip_pdev structure Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 027/222] ASoC: amd: acp: remove i2s configuration check in acp_i2s_probe() Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 028/222] ASoC: amd: acp: move chip->flag variable assignment Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 029/222] ASoC: fsl-asoc-card: set priv->pdev before using it Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 030/222] net: dsa: microchip: fix initial port flush problem Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 031/222] openvswitch: get related ct labels from its master if it is not confirmed Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 032/222] bonding: fix incorrect software timestamping report Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 033/222] ionic: fix kernel panic due to multi-buffer handling Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 034/222] mlxsw: pci: Fix driver initialization with Spectrum-4 Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 035/222] mlxsw: spectrum_buffers: Fix memory corruptions on Spectrum-4 systems Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 036/222] bpf: Fix the corner case with may_goto and jump to the 1st insn Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 037/222] bpf: Fix overrunning reservations in ringbuf Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 038/222] vxlan: Pull inner IP header in vxlan_xmit_one() Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 039/222] ibmvnic: Free any outstanding tx skbs during scrq reset Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 040/222] net: phy: micrel: add Microchip KSZ 9477 to the device table Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 041/222] net: dsa: microchip: use collision based back pressure mode Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 042/222] ice: Rebuild TC queues on VSI queue reconfiguration Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 043/222] bpf: Fix may_goto with negative offset Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 044/222] xdp: Remove WARN() from __xdp_reg_mem_model() Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 045/222] ASoC: mediatek: mt8195: Add platform entry for ETDM1_OUT_BE dai link Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 046/222] netfilter: fix undefined reference to netfilter_lwtunnel_* when CONFIG_SYSCTL=n Greg Kroah-Hartman
2024-07-02 17:01 ` Greg Kroah-Hartman [this message]
2024-07-02 17:01 ` [PATCH 6.9 048/222] Fix race for duplicate reqsk on identical SYN Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 049/222] ALSA: seq: Fix missing channel at encoding RPN/NRPN MIDI2 messages Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 050/222] net: dsa: microchip: fix wrong register write when masking interrupt Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 051/222] sparc: fix old compat_sys_select() Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 052/222] sparc: fix compat recv/recvfrom syscalls Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 053/222] parisc: use correct " Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 054/222] powerpc: restore some missing spu syscalls Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 055/222] ionic: use dev_consume_skb_any outside of napi Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 056/222] tcp: fix tcp_rcv_fastopen_synack() to enter TCP_CA_Loss for failed TFO Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 057/222] ALSA: seq: Fix missing MSB in MIDI2 SPP conversion Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 058/222] netfilter: nf_tables: fully validate NFT_DATA_VALUE on store to data registers Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 059/222] tracing/net_sched: NULL pointer dereference in perf_trace_qdisc_reset() Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 060/222] af_unix: Stop recv(MSG_PEEK) at consumed OOB skb Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 061/222] af_unix: Dont stop recv(MSG_DONTWAIT) if consumed OOB skb is at the head Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 062/222] af_unix: Dont stop recv() at consumed ex-OOB skb Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 063/222] af_unix: Fix wrong ioctl(SIOCATMARK) when consumed OOB skb is at the head Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 064/222] net: mana: Fix possible double free in error handling path Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 065/222] bpf: Take return from set_memory_ro() into account with bpf_prog_lock_ro() Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 066/222] bpf: Take return from set_memory_rox() into account with bpf_jit_binary_lock_ro() Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 067/222] drm/panel: ilitek-ili9881c: Fix warning with GPIO controllers that sleep Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 068/222] drm/xe: Fix potential integer overflow in page size calculation Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 069/222] vduse: validate block features only with block devices Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 070/222] vduse: Temporarily fail if control queue feature requested Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 071/222] x86/fpu: Fix AMD X86_BUG_FXSAVE_LEAK fixup Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 072/222] drm/xe: Add a NULL check in xe_ttm_stolen_mgr_init Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 073/222] drm/amd/display: correct hostvm flag Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 074/222] mtd: partitions: redboot: Added conversion of operands to a larger type Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 075/222] wifi: ieee80211: check for NULL in ieee80211_mle_size_ok() Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 076/222] drm/amd/display: Skip pipe if the pipe idx not set properly Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 077/222] bpf: Add a check for struct bpf_fib_lookup size Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 078/222] bpf: Mark bpf prog stack with kmsan_unposion_memory in interpreter mode Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 079/222] drm/xe/xe_devcoredump: Check NULL before assignments Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 080/222] RDMA/restrack: Fix potential invalid address access Greg Kroah-Hartman
2024-07-02 17:01 ` [PATCH 6.9 081/222] net/iucv: Avoid explicit cpumask var allocation on stack Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 082/222] net/dpaa2: " Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 083/222] wifi: rtw89: download firmware with five times retry Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 084/222] crypto: ecdh - explicitly zeroize private_key Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 085/222] ALSA: emux: improve patch ioctl data validation Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 086/222] media: dvbdev: Initialize sbuf Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 087/222] irqchip/loongson: Select GENERIC_IRQ_EFFECTIVE_AFF_MASK if SMP for IRQ_LOONGARCH_CPU Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 088/222] iommu/arm-smmu-v3: Do not allow a SVA domain to be set on the wrong PASID Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 089/222] soc: ti: wkup_m3_ipc: Send NULL dummy message instead of pointer message Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 090/222] gfs2: Fix NULL pointer dereference in gfs2_log_flush Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 091/222] evm: Enforce signatures on unsupported filesystem for EVM_INIT_X509 Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 092/222] drm/radeon/radeon_display: Decrease the size of allocated memory Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 093/222] drm/xe: Check pat.ops before dumping PAT settings Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 094/222] nvmet: do not return reserved for empty TSAS values Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 095/222] nvme: fixup comment for nvme RDMA Provider Type Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 096/222] nvmet: make tsas attribute idempotent for RDMA Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 097/222] drm/panel: simple: Add missing display timing flags for KOE TX26D202VM0BWA Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 098/222] gpio: davinci: Validate the obtained number of IRQs Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 099/222] arm64: Clear the initial ID map correctly before remapping Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 100/222] nfsd: initialise nfsd_info.mutex early Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 101/222] RISC-V: fix vector insn load/store width mask Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 102/222] drm/amdgpu: Fix pci state save during mode-1 reset Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 103/222] riscv: stacktrace: convert arch_stack_walk() to noinstr Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 104/222] iommu/amd: Introduce per device DTE update function Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 105/222] iommu/amd: Invalidate cache before removing device from domain list Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 106/222] iommu/amd: Fix GT feature enablement again Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 107/222] gpiolib: cdev: Disallow reconfiguration without direction (uAPI v1) Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 108/222] gpiolib: cdev: Ignore reconfiguration without direction Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 109/222] tools/power turbostat: option -n is ambiguous Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 110/222] randomize_kstack: Remove non-functional per-arch entropy filtering Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 111/222] x86: stop playing stack games in profile_pc() Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 112/222] parisc: use generic sys_fanotify_mark implementation Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 113/222] Revert "MIPS: pci: lantiq: restore reset gpio polarity" Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 114/222] pinctrl: qcom: spmi-gpio: drop broken pm8008 support Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 115/222] ocfs2: fix DIO failure due to insufficient transaction credits Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 116/222] nfs: drop the incorrect assertion in nfs_swap_rw() Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 117/222] kasan: fix bad call to unpoison_slab_object Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 118/222] mm: fix incorrect vbq reference in purge_fragmented_block Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 119/222] mm/memory: dont require head page for do_set_pmd() Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 120/222] Revert "mmc: moxart-mmc: Use sg_miter for PIO" Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 121/222] mmc: sdhci-pci-o2micro: Convert PCIBIOS_* return codes to errnos Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 122/222] mmc: sdhci-brcmstb: check R1_STATUS for erase/trim/discard Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 123/222] mmc: sdhci-pci: Convert PCIBIOS_* return codes to errnos Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 124/222] mmc: sdhci: Do not invert write-protect twice Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 125/222] mmc: sdhci: Do not lock spinlock around mmc_gpio_get_ro() Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 126/222] iio: xilinx-ams: Dont include ams_ctrl_channels in scan_mask Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 127/222] SUNRPC: Fix backchannel reply, again Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 128/222] counter: ti-eqep: enable clock at probe Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 129/222] kbuild: doc: Update default INSTALL_MOD_DIR from extra to updates Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 130/222] kbuild: Fix build target deb-pkg: ln: failed to create hard link Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 131/222] kbuild: rpm-pkg: fix build error with CONFIG_MODULES=n Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 132/222] i2c: testunit: dont erase registers after STOP Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 133/222] i2c: testunit: discard write requests while old command is running Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 134/222] ata: libata-core: Fix null pointer dereference on error Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 135/222] ata,scsi: libata-core: Do not leak memory for ata_port struct members Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 136/222] iio: humidity: hdc3020: fix hysteresis representation Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 137/222] iio: adc: ad7266: Fix variable checking bug Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 138/222] iio: accel: fxls8962af: select IIO_BUFFER & IIO_KFIFO_BUF Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 139/222] iio: chemical: bme680: Fix pressure value output Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 140/222] iio: chemical: bme680: Fix calibration data variable Greg Kroah-Hartman
2024-07-02 17:02 ` [PATCH 6.9 141/222] iio: chemical: bme680: Fix overflows in compensate() functions Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 142/222] iio: chemical: bme680: Fix sensor data read operation Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 143/222] net: usb: ax88179_178a: improve link status logs Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 144/222] usb: gadget: printer: SS+ support Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 145/222] usb: gadget: printer: fix races against disable Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 146/222] usb: musb: da8xx: fix a resource leak in probe() Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 147/222] usb: atm: cxacru: fix endpoint checking in cxacru_bind() Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 148/222] usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 149/222] usb: gadget: aspeed_udc: fix device address configuration Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 150/222] usb: typec: ucsi: glink: fix child node release in probe function Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 151/222] Revert "usb: gadget: u_ether: Re-attach netif device to mirror detachment" Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 152/222] Revert "usb: gadget: u_ether: Replace netif_stop_queue with netif_device_detach" Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 153/222] usb: ucsi: stm32: fix command completion handling Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 154/222] usb: dwc3: core: Workaround for CSR read timeout Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 155/222] Revert "serial: core: only stop transmit when HW fifo is empty" Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 156/222] tty: serial: 8250: Fix port count mismatch with the device Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 157/222] serial: 8250_omap: Implementation of Errata i2310 Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 158/222] serial: imx: set receiver level before starting uart Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 159/222] serial: core: introduce uart_port_tx_limited_flags() Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 160/222] serial: bcm63xx-uart: fix tx after conversion to uart_port_tx_limited() Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 161/222] ALSA: hda/realtek: fix mute/micmute LEDs dont work for EliteBook 645/665 G11 Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 162/222] tty: mxser: Remove __counted_by from mxser_board.ports[] Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 163/222] tty: mcf: MCF54418 has 10 UARTS Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 164/222] net: can: j1939: Initialize unused data in j1939_send_one() Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 165/222] net: can: j1939: recover socket queue on CAN bus error during BAM transmission Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 166/222] net: can: j1939: enhanced error handling for tightly received RTS messages in xtp_rx_rts_session_new Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 167/222] PCI/MSI: Fix UAF in msi_capability_init Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 168/222] nvmet-fc: Remove __counted_by from nvmet_fc_tgt_queue.fod[] Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 169/222] cpufreq: intel_pstate: Use HWP to initialize ITMT if CPPC is missing Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 170/222] irqchip/loongson-eiointc: Use early_cpu_to_node() instead of cpu_to_node() Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 171/222] cpu: Fix broken cmdline "nosmp" and "maxcpus=0" Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 172/222] cpu/hotplug: Fix dynstate assignment in __cpuhp_setup_state_cpuslocked() Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 173/222] irqchip/loongson-liointc: Set different ISRs for different cores Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 174/222] kbuild: Install dtb files as 0644 in Makefile.dtbinst Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 175/222] sh: rework sync_file_range ABI Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 176/222] btrfs: zoned: fix initial free space detection Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 177/222] csky, hexagon: fix broken sys_sync_file_range Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 178/222] hexagon: fix fadvise64_64 calling conventions Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 179/222] drm/drm_file: Fix pid refcounting race Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 180/222] drm/nouveau/dispnv04: fix null pointer dereference in nv17_tv_get_ld_modes Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 181/222] drm/fbdev-dma: Only set smem_start is enable per module option Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 182/222] drm/amdgpu: avoid using null object of framebuffer Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 183/222] drm/i915/gt: Fix potential UAF by revoke of fence registers Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 184/222] drm/nouveau/dispnv04: fix null pointer dereference in nv17_tv_get_hd_modes Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 185/222] drm/amd/display: Send DP_TOTAL_LTTPR_CNT during detection if LTTPR is present Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 186/222] drm/amdgpu/atomfirmware: fix parsing of vram_info Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 187/222] io_uring: signal SQPOLL task_work with TWA_SIGNAL_NO_IPI Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 188/222] batman-adv: Dont accept TT entries for out-of-spec VIDs Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 189/222] can: mcp251xfd: fix infinite loop when xmit fails Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 190/222] ata: ahci: Clean up sysfs file on error Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 191/222] ata: libata-core: Add ATA_HORKAGE_NOLPM for all Crucial BX SSD1 models Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 192/222] ata: libata-core: Fix double free on error Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 193/222] ftruncate: pass a signed offset Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 194/222] syscalls: fix compat_sys_io_pgetevents_time64 usage Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 195/222] syscalls: fix sys_fanotify_mark prototype Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 196/222] bcachefs: Fix sb_field_downgrade validation Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 197/222] bcachefs: Fix sb-downgrade validation Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 198/222] bcachefs: Fix bch2_sb_downgrade_update() Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 199/222] bcachefs: Fix setting of downgrade recovery passes/errors Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 200/222] bcachefs: btree_gc can now handle unknown btrees Greg Kroah-Hartman
2024-07-02 17:03 ` [PATCH 6.9 201/222] Revert "net: sfp: enhance quirk for Fibrestore 2.5G copper SFP module" Greg Kroah-Hartman
2024-07-02 17:04 ` [PATCH 6.9 202/222] mm/page_alloc: Separate THP PCP into movable and non-movable categories Greg Kroah-Hartman
2024-07-02 17:04 ` [PATCH 6.9 203/222] pwm: stm32: Fix calculation of prescaler Greg Kroah-Hartman
2024-07-02 17:04 ` [PATCH 6.9 204/222] pwm: stm32: Fix error message to not describe the previous error path Greg Kroah-Hartman
2024-07-02 17:04 ` [PATCH 6.9 205/222] arm64: dts: rockchip: Fix SD NAND and eMMC init on rk3308-rock-pi-s Greg Kroah-Hartman
2024-07-02 17:04 ` [PATCH 6.9 206/222] arm64: dts: rockchip: Rename LED related pinctrl nodes " Greg Kroah-Hartman
2024-07-02 17:04 ` [PATCH 6.9 207/222] arm64: dts: rockchip: set correct pwm0 pinctrl on rk3588-tiger Greg Kroah-Hartman
2024-07-02 17:04 ` [PATCH 6.9 208/222] arm64: dts: rockchip: Fix the value of `dlg,jack-det-rate` mismatch on rk3399-gru Greg Kroah-Hartman
2024-07-02 17:04 ` [PATCH 6.9 209/222] ARM: dts: rockchip: rk3066a: add #sound-dai-cells to hdmi node Greg Kroah-Hartman
2024-07-02 17:04 ` [PATCH 6.9 210/222] Revert "arm64: dts: rockchip: remove redundant cd-gpios from rk3588 sdmmc nodes" Greg Kroah-Hartman
2024-07-02 17:04 ` [PATCH 6.9 211/222] arm64: dts: rockchip: make poweroff(8) work on Radxa ROCK 5A Greg Kroah-Hartman
2024-07-02 17:04 ` [PATCH 6.9 212/222] cxl/region: Convert cxl_pmem_region_alloc to scope-based resource management Greg Kroah-Hartman
2024-07-02 17:04 ` [PATCH 6.9 213/222] cxl/mem: Fix no cxl_nvd during pmem region auto-assembling Greg Kroah-Hartman
2024-07-02 17:04 ` [PATCH 6.9 214/222] arm64: dts: rockchip: fix PMIC interrupt pin on ROCK Pi E Greg Kroah-Hartman
2024-07-02 17:04 ` [PATCH 6.9 215/222] reset: gpio: Fix missing gpiolib dependency for GPIO reset controller Greg Kroah-Hartman
2024-07-02 17:04 ` [PATCH 6.9 216/222] arm64: dts: rockchip: Fix the i2c address of es8316 on Cool Pi 4B Greg Kroah-Hartman
2024-07-02 17:04 ` [PATCH 6.9 217/222] arm64: dts: rockchip: Add sound-dai-cells for RK3368 Greg Kroah-Hartman
2024-07-02 17:04 ` [PATCH 6.9 218/222] cxl/region: Move cxl_dpa_to_region() work to the region driver Greg Kroah-Hartman
2024-07-02 17:04 ` [PATCH 6.9 219/222] cxl/region: Avoid null pointer dereference in region lookup Greg Kroah-Hartman
2024-07-02 17:04 ` [PATCH 6.9 220/222] cxl/region: check interleave capability Greg Kroah-Hartman
2024-07-02 17:04 ` [PATCH 6.9 221/222] netfs: Fix netfs_page_mkwrite() to check folio->mapping is valid Greg Kroah-Hartman
2024-07-02 17:04 ` [PATCH 6.9 222/222] netfs: Fix netfs_page_mkwrite() to flush conflicting data, not wait Greg Kroah-Hartman
2024-07-02 19:19 ` [PATCH 6.9 000/222] 6.9.8-rc1 review SeongJae Park
2024-07-02 21:38 ` Mark Brown
2024-07-02 22:32 ` Christian Heusel
2024-07-02 23:40 ` Shuah Khan
2024-07-03  4:25 ` Bagas Sanjaya
2024-07-03  8:13 ` Jon Hunter
2024-07-03  9:08 ` Naresh Kamboju
2024-07-03  9:24   ` Arnd Bergmann
2024-07-03 17:51     ` Naresh Kamboju
2024-07-03 13:40 ` Justin Forbes
2024-07-03 16:49 ` Pavel Machek
2024-07-03 16:54 ` Peter Schneider
2024-07-03 17:32 ` Kelsey Steele
2024-07-03 21:14 ` Ron Economos
2024-07-04  7:01 ` Naresh Kamboju
2024-07-04 19:52 ` Florian Fainelli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240702170245.774883613@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=dsterba@suse.com \
    --cc=fdmanana@suse.com \
    --cc=johannes.thumshirn@wdc.com \
    --cc=josef@toxicpanda.com \
    --cc=patches@lists.linux.dev \
    --cc=sashal@kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=syzbot+8576cfa84070dce4d59b@syzkaller.appspotmail.com \
    --cc=wqu@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).