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,
	Vladimir Panteleev <git@vladimir.panteleev.md>,
	Filipe Manana <fdmanana@suse.com>,
	David Sterba <dsterba@suse.com>
Subject: [PATCH 6.2 140/242] btrfs: fix backref walking not returning all inode refs
Date: Mon, 15 May 2023 18:27:46 +0200	[thread overview]
Message-ID: <20230515161726.102860635@linuxfoundation.org> (raw)
In-Reply-To: <20230515161721.802179972@linuxfoundation.org>

From: Filipe Manana <fdmanana@suse.com>

commit 0cad8f14d70cfeb5173dce93cafeba665a95430e upstream.

When using the logical to ino ioctl v2, if the flag to ignore offsets of
file extent items (BTRFS_LOGICAL_INO_ARGS_IGNORE_OFFSET) is given, the
backref walking code ends up not returning references for all file offsets
of an inode that point to the given logical bytenr. This happens since
kernel 6.2, commit 6ce6ba534418 ("btrfs: use a single argument for extent
offset in backref walking functions") because:

1) It mistakenly skipped the search for file extent items in a leaf that
   point to the target extent if that flag is given. Instead it should
   only skip the filtering done by check_extent_in_eb() - that is, it
   should not avoid the calls to that function (or find_extent_in_eb(),
   which uses it).

2) It was also not building a list of inode extent elements (struct
   extent_inode_elem) if we have multiple inode references for an extent
   when the ignore offset flag is given to the logical to ino ioctl - it
   would leave a single element, only the last one that was found.

These stem from the confusing old interface for backref walking functions
where we had an extent item offset argument that was a pointer to a u64
and another boolean argument that indicated if the offset should be
ignored, but the pointer could be NULL. That NULL case is used by
relocation, qgroup extent accounting and fiemap, simply to avoid building
the inode extent list for each reference, as it's not necessary for those
use cases and therefore avoids memory allocations and some computations.

Fix this by adding a boolean argument to the backref walk context
structure to indicate that the inode extent list should not be built,
make relocation set that argument to true and fix the backref walking
logic to skip the calls to check_extent_in_eb() and find_extent_in_eb()
only if this new argument is true, instead of 'ignore_extent_item_pos'
being true.

A test case for fstests will be added soon, to provide cover not only
for these cases but to the logical to ino ioctl in general as well, as
currently we do not have a test case for it.

Reported-by: Vladimir Panteleev <git@vladimir.panteleev.md>
Link: https://lore.kernel.org/linux-btrfs/CAHhfkvwo=nmzrJSqZ2qMfF-rZB-ab6ahHnCD_sq9h4o8v+M7QQ@mail.gmail.com/
Fixes: 6ce6ba534418 ("btrfs: use a single argument for extent offset in backref walking functions")
CC: stable@vger.kernel.org # 6.2+
Tested-by: Vladimir Panteleev <git@vladimir.panteleev.md>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 fs/btrfs/backref.c    |   19 ++++++++++---------
 fs/btrfs/backref.h    |    6 ++++++
 fs/btrfs/relocation.c |    2 +-
 3 files changed, 17 insertions(+), 10 deletions(-)

--- a/fs/btrfs/backref.c
+++ b/fs/btrfs/backref.c
@@ -45,7 +45,8 @@ static int check_extent_in_eb(struct btr
 	int root_count;
 	bool cached;
 
-	if (!btrfs_file_extent_compression(eb, fi) &&
+	if (!ctx->ignore_extent_item_pos &&
+	    !btrfs_file_extent_compression(eb, fi) &&
 	    !btrfs_file_extent_encryption(eb, fi) &&
 	    !btrfs_file_extent_other_encoding(eb, fi)) {
 		u64 data_offset;
@@ -552,7 +553,7 @@ static int add_all_parents(struct btrfs_
 				count++;
 			else
 				goto next;
-			if (!ctx->ignore_extent_item_pos) {
+			if (!ctx->skip_inode_ref_list) {
 				ret = check_extent_in_eb(ctx, &key, eb, fi, &eie);
 				if (ret == BTRFS_ITERATE_EXTENT_INODES_STOP ||
 				    ret < 0)
@@ -564,7 +565,7 @@ static int add_all_parents(struct btrfs_
 						  eie, (void **)&old, GFP_NOFS);
 			if (ret < 0)
 				break;
-			if (!ret && !ctx->ignore_extent_item_pos) {
+			if (!ret && !ctx->skip_inode_ref_list) {
 				while (old->next)
 					old = old->next;
 				old->next = eie;
@@ -1598,7 +1599,7 @@ again:
 				goto out;
 		}
 		if (ref->count && ref->parent) {
-			if (!ctx->ignore_extent_item_pos && !ref->inode_list &&
+			if (!ctx->skip_inode_ref_list && !ref->inode_list &&
 			    ref->level == 0) {
 				struct btrfs_tree_parent_check check = { 0 };
 				struct extent_buffer *eb;
@@ -1639,7 +1640,7 @@ again:
 						  (void **)&eie, GFP_NOFS);
 			if (ret < 0)
 				goto out;
-			if (!ret && !ctx->ignore_extent_item_pos) {
+			if (!ret && !ctx->skip_inode_ref_list) {
 				/*
 				 * We've recorded that parent, so we must extend
 				 * its inode list here.
@@ -1735,7 +1736,7 @@ int btrfs_find_all_leafs(struct btrfs_ba
 static int btrfs_find_all_roots_safe(struct btrfs_backref_walk_ctx *ctx)
 {
 	const u64 orig_bytenr = ctx->bytenr;
-	const bool orig_ignore_extent_item_pos = ctx->ignore_extent_item_pos;
+	const bool orig_skip_inode_ref_list = ctx->skip_inode_ref_list;
 	bool roots_ulist_allocated = false;
 	struct ulist_iterator uiter;
 	int ret = 0;
@@ -1756,7 +1757,7 @@ static int btrfs_find_all_roots_safe(str
 		roots_ulist_allocated = true;
 	}
 
-	ctx->ignore_extent_item_pos = true;
+	ctx->skip_inode_ref_list = true;
 
 	ULIST_ITER_INIT(&uiter);
 	while (1) {
@@ -1781,7 +1782,7 @@ static int btrfs_find_all_roots_safe(str
 	ulist_free(ctx->refs);
 	ctx->refs = NULL;
 	ctx->bytenr = orig_bytenr;
-	ctx->ignore_extent_item_pos = orig_ignore_extent_item_pos;
+	ctx->skip_inode_ref_list = orig_skip_inode_ref_list;
 
 	return ret;
 }
@@ -1885,7 +1886,7 @@ int btrfs_is_data_extent_shared(struct b
 		walk_ctx.time_seq = elem.seq;
 	}
 
-	walk_ctx.ignore_extent_item_pos = true;
+	walk_ctx.skip_inode_ref_list = true;
 	walk_ctx.trans = trans;
 	walk_ctx.fs_info = fs_info;
 	walk_ctx.refs = &ctx->refs;
--- a/fs/btrfs/backref.h
+++ b/fs/btrfs/backref.h
@@ -60,6 +60,12 @@ struct btrfs_backref_walk_ctx {
 	 * @extent_item_pos is ignored.
 	 */
 	bool ignore_extent_item_pos;
+	/*
+	 * If true and bytenr corresponds to a data extent, then the inode list
+	 * (each member describing inode number, file offset and root) is not
+	 * added to each reference added to the @refs ulist.
+	 */
+	bool skip_inode_ref_list;
 	/* A valid transaction handle or NULL. */
 	struct btrfs_trans_handle *trans;
 	/*
--- a/fs/btrfs/relocation.c
+++ b/fs/btrfs/relocation.c
@@ -3422,7 +3422,7 @@ int add_data_references(struct reloc_con
 	btrfs_release_path(path);
 
 	ctx.bytenr = extent_key->objectid;
-	ctx.ignore_extent_item_pos = true;
+	ctx.skip_inode_ref_list = true;
 	ctx.fs_info = rc->extent_root->fs_info;
 
 	ret = btrfs_find_all_leafs(&ctx);



  parent reply	other threads:[~2023-05-15 17:23 UTC|newest]

Thread overview: 258+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-15 16:25 [PATCH 6.2 000/242] 6.2.16-rc1 review Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 001/242] USB: dwc3: gadget: drop dead hibernation code Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 002/242] usb: dwc3: gadget: Execute gadget stop after halting the controller Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 003/242] crypto: ccp - Clear PSP interrupt status register before calling handler Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 004/242] ASoC: codecs: constify static sdw_slave_ops struct Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 005/242] ASoC: codecs: wcd938x: fix accessing regmap on unattached devices Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 006/242] mtd: spi-nor: Add a RWW flag Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 007/242] mtd: spi-nor: spansion: Enable JFFS2 write buffer for Infineon s28hx SEMPER flash Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 008/242] qcom: llcc/edac: Support polling mode for ECC handling Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 009/242] soc: qcom: llcc: Do not create EDAC platform device on SDM845 Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 010/242] mailbox: zynq: Switch to flexible array to simplify code Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 011/242] mailbox: zynqmp: Fix counts of child nodes Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 012/242] mtd: spi-nor: spansion: Enable JFFS2 write buffer for Infineon s25hx SEMPER flash Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 013/242] fs/ntfs3: Fix null-ptr-deref on inode->i_op in ntfs_lookup() Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 014/242] drm/amd/display: Ext displays with dock cant recognized after resume Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 015/242] KVM: x86/mmu: Avoid indirect call for get_cr3 Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 016/242] KVM: x86: Do not unload MMU roots when only toggling CR0.WP with TDP enabled Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 017/242] KVM: x86: Make use of kvm_read_cr*_bits() when testing bits Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 018/242] KVM: VMX: Make CR0.WP a guest owned bit Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 019/242] KVM: x86/mmu: Refresh CR0.WP prior to checking for emulated permission faults Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 020/242] RDMA/rxe: Remove rxe_alloc() Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 021/242] RDMA/rxe: Change rxe_dbg to rxe_dbg_dev Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 022/242] RDMA/rxe: Extend dbg log messages to err and info Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 023/242] ASoC: Intel: soc-acpi-byt: Fix "WM510205" match no longer working Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 024/242] scsi: qedi: Fix use after free bug in qedi_remove() Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 025/242] drm/amd/display: Add missing WA and MCLK validation Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 026/242] drm/amd/display: Return error code on DSC atomic check failure Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 027/242] drm/amd/display: Fixes for dcn32_clk_mgr implementation Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 028/242] drm/amd/display: Reset OUTBOX0 r/w pointer on DMUB reset Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 029/242] drm/amd/display: Do not clear GPINT register when releasing DMUB from reset Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 030/242] drm/amd/display: Update bounding box values for DCN321 Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 031/242] rxrpc: Fix potential data race in rxrpc_wait_to_be_connected() Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 032/242] ixgbe: Fix panic during XDP_TX with > 64 CPUs Greg Kroah-Hartman
2023-05-15 16:25 ` [PATCH 6.2 033/242] octeonxt2-af: mcs: Fix per port bypass config Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 034/242] octeontx2-af: mcs: Write TCAM_DATA and TCAM_MASK registers at once Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 035/242] octeontx2-af: mcs: Config parser to skip 8B header Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 036/242] octeontx2-af: mcs: Fix MCS block interrupt Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 037/242] octeontx2-pf: mcs: Fix NULL pointer dereferences Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 038/242] octeontx2-pf: mcs: Match macsec ethertype along with DMAC Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 039/242] octeontx2-pf: mcs: Clear stats before freeing resource Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 040/242] octeontx2-pf: mcs: Fix shared counters logic Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 041/242] octeontx2-pf: mcs: Do not reset PN while updating secy Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 042/242] net/ncsi: clear Tx enable mode when handling a Config required AEN Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 043/242] tcp: fix skb_copy_ubufs() vs BIG TCP Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 044/242] net/sched: cls_api: remove block_cb from driver_list before freeing Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 045/242] sit: update dev->needed_headroom in ipip6_tunnel_bind_dev() Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 046/242] selftests: srv6: make srv6_end_dt46_l3vpn_test more robust Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 047/242] net: ipv6: fix skb hash for some RST packets Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 048/242] net: dsa: mv88e6xxx: add mv88e6321 rsvd2cpu Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 049/242] writeback: fix call of incorrect macro Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 050/242] block: Skip destroyed blkg when restart in blkg_destroy_all() Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 051/242] watchdog: dw_wdt: Fix the error handling path of dw_wdt_drv_probe() Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 052/242] RISC-V: mm: Enable huge page support to kernel_page_present() function Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 053/242] i2c: tegra: Fix PEC support for SMBUS block read Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 054/242] net/sched: act_mirred: Add carrier check Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 055/242] r8152: fix flow control issue of RTL8156A Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 056/242] r8152: fix the poor throughput for 2.5G devices Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 057/242] r8152: move setting r8153b_rx_agg_chg_indicate() Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 058/242] sfc: Fix module EEPROM reporting for QSFP modules Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 059/242] rxrpc: Fix hard call timeout units Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 060/242] rxrpc: Make it so that a waiting process can be aborted Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 061/242] rxrpc: Fix timeout of a call that hasnt yet been granted a channel Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 062/242] riscv: compat_syscall_table: Fixup compile warning Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 063/242] net: ethernet: mtk_eth_soc: drop generic vlan rx offload, only use DSA untagging Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 064/242] drm/i915/mtl: Add the missing CPU transcoder mask in intel_device_info Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 065/242] selftests: netfilter: fix libmnl pkg-config usage Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 066/242] octeontx2-af: Secure APR table update with the lock Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 067/242] octeontx2-af: Fix start and end bit for scan config Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 068/242] octeontx2-af: Fix depth of cam and mem table Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 069/242] octeontx2-pf: Increase the size of dmac filter flows Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 070/242] octeontx2-af: Add validation for lmac type Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 071/242] octeontx2-af: Update correct mask to filter IPv4 fragments Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 072/242] octeontx2-af: Update/Fix NPC field hash extract feature Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 073/242] octeontx2-af: Fix issues with NPC field hash extract Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 074/242] octeontx2-af: Skip PFs if not enabled Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 075/242] octeontx2-pf: Disable packet I/O for graceful exit Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 076/242] octeontx2-vf: Detach LF resources on probe cleanup Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 077/242] ionic: remove noise from ethtool rxnfc error msg Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 078/242] ethtool: Fix uninitialized number of lanes Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 079/242] ionic: catch failure from devlink_alloc Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 080/242] af_packet: Dont send zero-byte data in packet_sendmsg_spkt() Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 081/242] drm/amdgpu: add a missing lock for AMDGPU_SCHED Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 082/242] ALSA: caiaq: input: Add error handling for unsupported input methods in `snd_usb_caiaq_input_init` Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 083/242] KVM: s390: pv: fix asynchronous teardown for small VMs Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 084/242] KVM: s390: fix race in gmap_make_secure() Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 085/242] net: dsa: mt7530: fix corrupt frames using trgmii on 40 MHz XTAL MT7621 Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 086/242] net: dsa: mt7530: split-off common parts from mt7531_setup Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 087/242] net: dsa: mt7530: fix network connectivity with multiple CPU ports Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 088/242] ice: block LAN in case of VF to VF offload Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 089/242] virtio_net: suppress cpu stall when free_unused_bufs Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 090/242] net: enetc: check the index of the SFI rather than the handle Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 091/242] net: fec: correct the counting of XDP sent frames Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 092/242] net: bcmgenet: Remove phy_stop() from bcmgenet_netif_stop() Greg Kroah-Hartman
2023-05-16  3:42   ` Florian Fainelli
2023-05-16  4:48     ` Greg Kroah-Hartman
2023-05-15 16:26 ` [PATCH 6.2 093/242] perf record: Fix "read LOST count failed" msg with sample read Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 094/242] perf build: Support python/perf.so testing Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 095/242] perf scripts intel-pt-events.py: Fix IPC output for Python 2 Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 096/242] perf script: Fix Python support when no libtraceevent Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 097/242] perf hist: Improve srcfile sort key performance (really) Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 098/242] perf vendor events s390: Remove UTF-8 characters from JSON file Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 099/242] perf tests record_offcpu.sh: Fix redirection of stderr to stdin Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 100/242] perf ftrace: Make system wide the default target for latency subcommand Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 101/242] perf vendor events power9: Remove UTF-8 characters from JSON files Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 102/242] perf pmu: zfree() expects a pointer to a pointer to zero it after freeing its contents Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 103/242] perf map: Delete two variable initialisations before null pointer checks in sort__sym_from_cmp() Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 104/242] perf cs-etm: Fix timeless decode mode detection Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 105/242] crypto: sun8i-ss - Fix a test in sun8i_ss_setup_ivs() Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 106/242] crypto: api - Add scaffolding to change completion function signature Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 107/242] crypto: engine - Use crypto_request_complete Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 108/242] crypto: engine - fix crypto_queue backlog handling Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 109/242] perf symbols: Fix return incorrect build_id size in elf_read_build_id() Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 110/242] perf tracepoint: Fix memory leak in is_valid_tracepoint() Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 111/242] perf stat: Separate bperf from bpf_profiler Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 112/242] KVM: x86/mmu: Change tdp_mmu to a read-only parameter Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 113/242] KVM: x86/mmu: Move TDP MMU VM init/uninit behind tdp_mmu_enabled Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 114/242] KVM: x86/mmu: Replace open coded usage of tdp_mmu_page with is_tdp_mmu_page() Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 115/242] KVM: x86: Preserve TDP MMU roots until they are explicitly invalidated Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 116/242] ksmbd: Implements sess->ksmbd_chann_list as xarray Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 117/242] ksmbd: fix racy issue from session setup and logoff Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 118/242] ksmbd: block asynchronous requests when making a delay on session setup Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 119/242] ksmbd: destroy expired sessions Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 120/242] ksmbd: fix racy issue from smb2 close and logoff with multichannel Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 121/242] wifi: iwlwifi: mvm: fix potential memory leak Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 122/242] cifs: check only tcon status on tcon related functions Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 123/242] cifs: avoid potential races when handling multiple dfs tcons Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 124/242] netfilter: nf_tables: extended netlink error reporting for netdevice Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 125/242] netfilter: nf_tables: rename function to destroy hook list Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 126/242] netfilter: nf_tables: hit ENOENT on unexisting chain/flowtable update with missing attributes Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 127/242] x86/retbleed: Fix return thunk alignment Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 128/242] btrfs: fix btrfs_prev_leaf() to not return the same key twice Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 129/242] btrfs: zoned: fix wrong use of bitops API in btrfs_ensure_empty_zones Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 130/242] btrfs: properly reject clear_cache and v1 cache for block-group-tree Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 131/242] btrfs: fix assertion of exclop condition when starting balance Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 132/242] btrfs: fix encoded write i_size corruption with no-holes Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 133/242] btrfs: dont free qgroup space unless specified Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 134/242] btrfs: zero the buffer before marking it dirty in btrfs_redirty_list_add Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 135/242] btrfs: make clear_cache mount option to rebuild FST without disabling it Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 136/242] btrfs: print-tree: parent bytenr must be aligned to sector size Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 137/242] btrfs: fix space cache inconsistency after error loading it from disk Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 138/242] btrfs: zoned: zone finish data relocation BG with last IO Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 139/242] btrfs: zoned: fix full zone super block reading on ZNS Greg Kroah-Hartman
2023-05-15 16:27 ` Greg Kroah-Hartman [this message]
2023-05-15 16:27 ` [PATCH 6.2 141/242] cifs: fix pcchunk length type in smb2_copychunk_range Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 142/242] cifs: release leases for deferred close handles when freezing Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 143/242] platform/x86/intel-uncore-freq: Return error on write frequency Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 144/242] platform/x86: touchscreen_dmi: Add upside-down quirk for GDIX1002 ts on the Juno Tablet Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 145/242] platform/x86: thinkpad_acpi: Fix platform profiles on T490 Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 146/242] platform/x86: hp-wmi: add micmute to hp_wmi_keymap struct Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 147/242] platform/x86: touchscreen_dmi: Add info for the Dexp Ursus KX210i Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 148/242] platform/x86: thinkpad_acpi: Add profile force ability Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 149/242] inotify: Avoid reporting event with invalid wd Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 150/242] smb3: fix problem remounting a share after shutdown Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 151/242] SMB3: force unmount was failing to close deferred close files Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 152/242] sh: math-emu: fix macro redefined warning Greg Kroah-Hartman
2023-05-15 16:27 ` [PATCH 6.2 153/242] sh: mcount.S: fix build error when PRINTK is not enabled Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 154/242] sh: init: use OF_EARLY_FLATTREE for early init Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 155/242] sh: nmi_debug: fix return value of __setup handler Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 156/242] proc_sysctl: update docs for __register_sysctl_table() Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 157/242] proc_sysctl: enhance documentation Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 158/242] remoteproc: stm32: Call of_node_put() on iteration error Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 159/242] remoteproc: st: " Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 160/242] remoteproc: imx_dsp_rproc: " Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 161/242] remoteproc: imx_rproc: " Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 162/242] remoteproc: rcar_rproc: " Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 163/242] sysctl: clarify register_sysctl_init() base directory order Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 164/242] ARM: dts: aspeed: asrock: Correct firmware flash SPI clocks Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 165/242] ARM: dts: exynos: fix WM8960 clock name in Itop Elite Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 166/242] ARM: dts: s5pv210: correct MIPI CSIS clock name Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 167/242] ARM: dts: aspeed: romed8hm3: Fix GPIO polarity of system-fault LED Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 168/242] drm/msm/adreno: fix runtime PM imbalance at gpu load Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 169/242] drm/bridge: lt8912b: Fix DSI Video Mode Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 170/242] drm/i915/color: Fix typo for Plane CSC indexes Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 171/242] drm/msm: fix NULL-deref on snapshot tear down Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 172/242] drm/msm: fix NULL-deref on irq uninstall Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 173/242] drm/msm: fix drm device leak on bind errors Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 174/242] drm/msm: fix vram " Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 175/242] drm/msm: fix missing wq allocation error handling Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 176/242] drm/msm: fix workqueue leak on bind errors Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 177/242] drm/i915/dsi: Use unconditional msleep() instead of intel_dsi_msleep() Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 178/242] f2fs: factor out victim_entry usage from general rb_tree use Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 179/242] f2fs: fix null pointer panic in tracepoint in __replace_atomic_write_block Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 180/242] f2fs: fix potential corruption when moving a directory Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 181/242] irqchip/loongson-pch-pic: Fix pch_pic_acpi_init calling Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 182/242] irqchip/loongson-pch-pic: Fix registration of syscore_ops Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 183/242] irqchip/loongson-eiointc: Fix returned value on parsing MADT Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 184/242] irqchip/loongson-eiointc: Fix incorrect use of acpi_get_vec_parent Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 185/242] irqchip/loongson-eiointc: Fix registration of syscore_ops Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 186/242] drm/panel: otm8009a: Set backlight parent to panel device Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 187/242] drm/amd/display: Add NULL plane_state check for cursor disable logic Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 188/242] drm/amd/display: Fix 4to1 MPC black screen with DPP RCO Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 189/242] drm/amd/display: filter out invalid bits in pipe_fuses Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 190/242] drm/amd/display: fix flickering caused by S/G mode Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 191/242] drm/amdgpu: drop redundant sched job cleanup when cs is aborted Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 192/242] drm/amdgpu: fix amdgpu_irq_put call trace in gmc_v10_0_hw_fini Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 193/242] drm/amdgpu: fix an amdgpu_irq_put() issue in gmc_v9_0_hw_fini() Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 194/242] drm/amdgpu: fix amdgpu_irq_put call trace in gmc_v11_0_hw_fini Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 195/242] drm/amdgpu/gfx: disable gfx9 cp_ecc_error_irq only when enabling legacy gfx ras Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 196/242] drm/amdgpu/jpeg: Remove harvest checking for JPEG3 Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 197/242] drm/amdgpu: change gfx 11.0.4 external_id range Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 198/242] drm/amdgpu: Fix vram recover doesnt work after whole GPU reset (v2) Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 199/242] drm/amd/display: Enforce 60us prefetch for 200Mhz DCFCLK modes Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 200/242] drm/amd/pm: parse pp_handle under appropriate conditions Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 201/242] drm/amdgpu: disable sdma ecc irq only when sdma RAS is enabled in suspend Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 202/242] drm/amd/pm: avoid potential UBSAN issue on legacy asics Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 203/242] drm/amd: Load MES microcode during early_init Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 204/242] drm/amd: Add a new helper for loading/validating microcode Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 205/242] drm/amd: Use `amdgpu_ucode_*` helpers for MES Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 206/242] HID: wacom: Set a default resolution for older tablets Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 207/242] HID: wacom: insert timestamp to packed Bluetooth (BT) events Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 208/242] fs/ntfs3: Refactoring of various minor issues Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 209/242] drm/msm/adreno: adreno_gpu: Use suspend() instead of idle() on load error Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 210/242] drm/i915/mtl: Add workarounds Wa_14017066071 and Wa_14017654203 Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 211/242] drm/i915/mtl: Add Wa_14017856879 Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 212/242] drm/i915: disable sampler indirect state in bindless heap Greg Kroah-Hartman
2023-05-15 16:28 ` [PATCH 6.2 213/242] drm/i915/mtl: update scaler source and destination limits for MTL Greg Kroah-Hartman
2023-05-16  7:13   ` Coelho, Luciano
2023-05-16  7:19     ` gregkh
2023-05-16  7:22       ` Coelho, Luciano
2023-05-15 16:29 ` [PATCH 6.2 214/242] drm/i915: Check pipe source size when using skl+ scalers Greg Kroah-Hartman
2023-05-15 16:29 ` [PATCH 6.2 215/242] drm/amd/display: Fix Z8 support configurations Greg Kroah-Hartman
2023-05-15 16:29 ` [PATCH 6.2 216/242] drm/amd/display: Add minimum Z8 residency debug option Greg Kroah-Hartman
2023-05-15 16:29 ` [PATCH 6.2 217/242] drm/amd/display: Update minimum stutter residency for DCN314 Z8 Greg Kroah-Hartman
2023-05-15 16:29 ` [PATCH 6.2 218/242] drm/amd/display: Lowering min Z8 residency time Greg Kroah-Hartman
2023-05-15 16:29 ` [PATCH 6.2 219/242] drm/amd/display: Update Z8 SR exit/enter latencies Greg Kroah-Hartman
2023-05-15 16:29 ` [PATCH 6.2 220/242] drm/amd/display: Change default Z8 watermark values Greg Kroah-Hartman
2023-05-15 16:29 ` [PATCH 6.2 221/242] drm: Add missing DP DSC extended capability definitions Greg Kroah-Hartman
2023-05-15 16:29 ` [PATCH 6.2 222/242] drm/dsc: fix drm_edp_dsc_sink_output_bpp() DPCD high byte usage Greg Kroah-Hartman
2023-05-15 16:29 ` [PATCH 6.2 223/242] locking/rwsem: Add __always_inline annotation to __down_read_common() and inlined callers Greg Kroah-Hartman
2023-05-15 16:29 ` [PATCH 6.2 224/242] ext4: fix WARNING in mb_find_extent Greg Kroah-Hartman
2023-05-15 16:29 ` [PATCH 6.2 225/242] ext4: avoid a potential slab-out-of-bounds in ext4_group_desc_csum Greg Kroah-Hartman
2023-05-15 16:29 ` [PATCH 6.2 226/242] ext4: fix data races when using cached status extents Greg Kroah-Hartman
2023-05-15 16:29 ` [PATCH 6.2 227/242] ext4: avoid deadlock in fs reclaim with page writeback Greg Kroah-Hartman
2023-05-15 16:29 ` [PATCH 6.2 228/242] ext4: check iomap type only if ext4_iomap_begin() does not fail Greg Kroah-Hartman
2023-05-15 16:29 ` [PATCH 6.2 229/242] ext4: improve error recovery code paths in __ext4_remount() Greg Kroah-Hartman
2023-05-15 16:29 ` [PATCH 6.2 230/242] ext4: improve error handling from ext4_dirhash() Greg Kroah-Hartman
2023-05-15 16:29 ` [PATCH 6.2 231/242] ext4: fix deadlock when converting an inline directory in nojournal mode Greg Kroah-Hartman
2023-05-15 16:29 ` [PATCH 6.2 232/242] ext4: add bounds checking in get_max_inline_xattr_value_size() Greg Kroah-Hartman
2023-05-15 16:29 ` [PATCH 6.2 233/242] ext4: bail out of ext4_xattr_ibody_get() fails for any reason Greg Kroah-Hartman
2023-05-15 16:29 ` [PATCH 6.2 234/242] ext4: fix lockdep warning when enabling MMP Greg Kroah-Hartman
2023-05-15 16:29 ` [PATCH 6.2 235/242] ext4: remove a BUG_ON in ext4_mb_release_group_pa() Greg Kroah-Hartman
2023-05-15 16:29 ` [PATCH 6.2 236/242] ext4: fix invalid free tracking in ext4_xattr_move_to_block() Greg Kroah-Hartman
2023-05-15 16:29 ` [PATCH 6.2 237/242] drm/dsc: fix DP_DSC_MAX_BPP_DELTA_* macro values Greg Kroah-Hartman
2023-05-15 16:29 ` [PATCH 6.2 238/242] x86/amd_nb: Add PCI ID for family 19h model 78h Greg Kroah-Hartman
2023-05-15 16:29 ` [PATCH 6.2 239/242] x86: fix clear_user_rep_good() exception handling annotation Greg Kroah-Hartman
2023-05-15 16:29 ` [PATCH 6.2 240/242] spi: fsl-spi: Re-organise transfer bits_per_word adaptation Greg Kroah-Hartman
2023-05-15 16:29 ` [PATCH 6.2 241/242] spi: fsl-cpm: Use 16 bit mode for large transfers with even size Greg Kroah-Hartman
2023-05-15 16:29 ` [PATCH 6.2 242/242] drm/amd/display: Fix hang when skipping modeset Greg Kroah-Hartman
2023-05-15 20:12 ` [PATCH 6.2 000/242] 6.2.16-rc1 review Chris Paterson
2023-05-16  1:22 ` Shuah Khan
2023-05-16  5:12 ` Ron Economos
2023-05-16  8:54 ` Bagas Sanjaya
2023-05-16  9:19 ` Sudip Mukherjee (Codethink)
2023-05-16 12:04 ` Naresh Kamboju
2023-05-16 12:06 ` Justin Forbes
2023-05-16 12:26 ` Conor Dooley
2023-05-16 18:23 ` Markus Reichelt
2023-05-17  2:53 ` Guenter Roeck

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=20230515161726.102860635@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=dsterba@suse.com \
    --cc=fdmanana@suse.com \
    --cc=git@vladimir.panteleev.md \
    --cc=patches@lists.linux.dev \
    --cc=stable@vger.kernel.org \
    /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).