public inbox for stable@vger.kernel.org
 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, Zhao Mengmeng <zhaomengmeng@kylinos.cn>,
	Jan Kara <jack@suse.cz>, Sasha Levin <sashal@kernel.org>
Subject: [PATCH 6.11 128/261] udf: refactor udf_next_aext() to handle error
Date: Mon, 28 Oct 2024 07:24:30 +0100	[thread overview]
Message-ID: <20241028062315.244040602@linuxfoundation.org> (raw)
In-Reply-To: <20241028062312.001273460@linuxfoundation.org>

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

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

From: Zhao Mengmeng <zhaomengmeng@kylinos.cn>

[ Upstream commit b405c1e58b73981da0f8df03b00666b22b9397ae ]

Since udf_current_aext() has error handling, udf_next_aext() should have
error handling too. Besides, when too many indirect extents found in one
inode, return -EFSCORRUPTED; when reading block failed, return -EIO.

Signed-off-by: Zhao Mengmeng <zhaomengmeng@kylinos.cn>
Suggested-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20241001115425.266556-3-zhaomzhao@126.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 fs/udf/balloc.c    |  38 +++++++++-----
 fs/udf/directory.c |  10 +++-
 fs/udf/inode.c     | 125 ++++++++++++++++++++++++++++++---------------
 fs/udf/super.c     |   3 +-
 fs/udf/truncate.c  |  27 ++++++++--
 fs/udf/udfdecl.h   |   5 +-
 6 files changed, 143 insertions(+), 65 deletions(-)

diff --git a/fs/udf/balloc.c b/fs/udf/balloc.c
index d8fc11765d612..807c493ed0cd5 100644
--- a/fs/udf/balloc.c
+++ b/fs/udf/balloc.c
@@ -370,6 +370,7 @@ static void udf_table_free_blocks(struct super_block *sb,
 	struct extent_position oepos, epos;
 	int8_t etype;
 	struct udf_inode_info *iinfo;
+	int ret = 0;
 
 	mutex_lock(&sbi->s_alloc_mutex);
 	iinfo = UDF_I(table);
@@ -383,8 +384,12 @@ static void udf_table_free_blocks(struct super_block *sb,
 	epos.block = oepos.block = iinfo->i_location;
 	epos.bh = oepos.bh = NULL;
 
-	while (count &&
-	       (etype = udf_next_aext(table, &epos, &eloc, &elen, 1)) != -1) {
+	while (count) {
+		ret = udf_next_aext(table, &epos, &eloc, &elen, &etype, 1);
+		if (ret < 0)
+			goto error_return;
+		if (ret == 0)
+			break;
 		if (((eloc.logicalBlockNum +
 			(elen >> sb->s_blocksize_bits)) == start)) {
 			if ((0x3FFFFFFF - elen) <
@@ -459,11 +464,8 @@ static void udf_table_free_blocks(struct super_block *sb,
 			adsize = sizeof(struct short_ad);
 		else if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_LONG)
 			adsize = sizeof(struct long_ad);
-		else {
-			brelse(oepos.bh);
-			brelse(epos.bh);
+		else
 			goto error_return;
-		}
 
 		if (epos.offset + (2 * adsize) > sb->s_blocksize) {
 			/* Steal a block from the extent being free'd */
@@ -479,10 +481,10 @@ static void udf_table_free_blocks(struct super_block *sb,
 			__udf_add_aext(table, &epos, &eloc, elen, 1);
 	}
 
+error_return:
 	brelse(epos.bh);
 	brelse(oepos.bh);
 
-error_return:
 	mutex_unlock(&sbi->s_alloc_mutex);
 	return;
 }
@@ -498,6 +500,7 @@ static int udf_table_prealloc_blocks(struct super_block *sb,
 	struct extent_position epos;
 	int8_t etype = -1;
 	struct udf_inode_info *iinfo;
+	int ret = 0;
 
 	if (first_block >= sbi->s_partmaps[partition].s_partition_len)
 		return 0;
@@ -516,11 +519,14 @@ static int udf_table_prealloc_blocks(struct super_block *sb,
 	epos.bh = NULL;
 	eloc.logicalBlockNum = 0xFFFFFFFF;
 
-	while (first_block != eloc.logicalBlockNum &&
-	       (etype = udf_next_aext(table, &epos, &eloc, &elen, 1)) != -1) {
+	while (first_block != eloc.logicalBlockNum) {
+		ret = udf_next_aext(table, &epos, &eloc, &elen, &etype, 1);
+		if (ret < 0)
+			goto err_out;
+		if (ret == 0)
+			break;
 		udf_debug("eloc=%u, elen=%u, first_block=%u\n",
 			  eloc.logicalBlockNum, elen, first_block);
-		; /* empty loop body */
 	}
 
 	if (first_block == eloc.logicalBlockNum) {
@@ -539,6 +545,7 @@ static int udf_table_prealloc_blocks(struct super_block *sb,
 		alloc_count = 0;
 	}
 
+err_out:
 	brelse(epos.bh);
 
 	if (alloc_count)
@@ -560,6 +567,7 @@ static udf_pblk_t udf_table_new_block(struct super_block *sb,
 	struct extent_position epos, goal_epos;
 	int8_t etype;
 	struct udf_inode_info *iinfo = UDF_I(table);
+	int ret = 0;
 
 	*err = -ENOSPC;
 
@@ -583,8 +591,10 @@ static udf_pblk_t udf_table_new_block(struct super_block *sb,
 	epos.block = iinfo->i_location;
 	epos.bh = goal_epos.bh = NULL;
 
-	while (spread &&
-	       (etype = udf_next_aext(table, &epos, &eloc, &elen, 1)) != -1) {
+	while (spread) {
+		ret = udf_next_aext(table, &epos, &eloc, &elen, &etype, 1);
+		if (ret <= 0)
+			break;
 		if (goal >= eloc.logicalBlockNum) {
 			if (goal < eloc.logicalBlockNum +
 					(elen >> sb->s_blocksize_bits))
@@ -612,9 +622,11 @@ static udf_pblk_t udf_table_new_block(struct super_block *sb,
 
 	brelse(epos.bh);
 
-	if (spread == 0xFFFFFFFF) {
+	if (ret < 0 || spread == 0xFFFFFFFF) {
 		brelse(goal_epos.bh);
 		mutex_unlock(&sbi->s_alloc_mutex);
+		if (ret < 0)
+			*err = ret;
 		return 0;
 	}
 
diff --git a/fs/udf/directory.c b/fs/udf/directory.c
index 93153665eb374..c6950050e7aeb 100644
--- a/fs/udf/directory.c
+++ b/fs/udf/directory.c
@@ -166,13 +166,19 @@ static struct buffer_head *udf_fiiter_bread_blk(struct udf_fileident_iter *iter)
  */
 static int udf_fiiter_advance_blk(struct udf_fileident_iter *iter)
 {
+	int8_t etype = -1;
+	int err = 0;
+
 	iter->loffset++;
 	if (iter->loffset < DIV_ROUND_UP(iter->elen, 1<<iter->dir->i_blkbits))
 		return 0;
 
 	iter->loffset = 0;
-	if (udf_next_aext(iter->dir, &iter->epos, &iter->eloc, &iter->elen, 1)
-			!= (EXT_RECORDED_ALLOCATED >> 30)) {
+	err = udf_next_aext(iter->dir, &iter->epos, &iter->eloc,
+			    &iter->elen, &etype, 1);
+	if (err < 0)
+		return err;
+	else if (err == 0 || etype != (EXT_RECORDED_ALLOCATED >> 30)) {
 		if (iter->pos == iter->dir->i_size) {
 			iter->elen = 0;
 			return 0;
diff --git a/fs/udf/inode.c b/fs/udf/inode.c
index c64c2eff3399a..0459a87d4c02a 100644
--- a/fs/udf/inode.c
+++ b/fs/udf/inode.c
@@ -545,6 +545,7 @@ static int udf_do_extend_file(struct inode *inode,
 	} else {
 		struct kernel_lb_addr tmploc;
 		uint32_t tmplen;
+		int8_t tmptype;
 
 		udf_write_aext(inode, last_pos, &last_ext->extLocation,
 				last_ext->extLength, 1);
@@ -554,8 +555,12 @@ static int udf_do_extend_file(struct inode *inode,
 		 * more extents, we may need to enter possible following
 		 * empty indirect extent.
 		 */
-		if (new_block_bytes)
-			udf_next_aext(inode, last_pos, &tmploc, &tmplen, 0);
+		if (new_block_bytes) {
+			err = udf_next_aext(inode, last_pos, &tmploc, &tmplen,
+					    &tmptype, 0);
+			if (err < 0)
+				goto out_err;
+		}
 	}
 	iinfo->i_lenExtents += add;
 
@@ -674,8 +679,10 @@ static int udf_extend_file(struct inode *inode, loff_t newsize)
 		extent.extLength = EXT_NOT_RECORDED_NOT_ALLOCATED;
 	} else {
 		epos.offset -= adsize;
-		etype = udf_next_aext(inode, &epos, &extent.extLocation,
-				      &extent.extLength, 0);
+		err = udf_next_aext(inode, &epos, &extent.extLocation,
+				    &extent.extLength, &etype, 0);
+		if (err <= 0)
+			goto out;
 		extent.extLength |= etype << 30;
 	}
 
@@ -712,11 +719,11 @@ static int inode_getblk(struct inode *inode, struct udf_map_rq *map)
 	loff_t lbcount = 0, b_off = 0;
 	udf_pblk_t newblocknum;
 	sector_t offset = 0;
-	int8_t etype;
+	int8_t etype, tmpetype;
 	struct udf_inode_info *iinfo = UDF_I(inode);
 	udf_pblk_t goal = 0, pgoal = iinfo->i_location.logicalBlockNum;
 	int lastblock = 0;
-	bool isBeyondEOF;
+	bool isBeyondEOF = false;
 	int ret = 0;
 
 	prev_epos.offset = udf_file_entry_alloc_offset(inode);
@@ -748,9 +755,13 @@ static int inode_getblk(struct inode *inode, struct udf_map_rq *map)
 		prev_epos.offset = cur_epos.offset;
 		cur_epos.offset = next_epos.offset;
 
-		etype = udf_next_aext(inode, &next_epos, &eloc, &elen, 1);
-		if (etype == -1)
+		ret = udf_next_aext(inode, &next_epos, &eloc, &elen, &etype, 1);
+		if (ret < 0) {
+			goto out_free;
+		} else if (ret == 0) {
+			isBeyondEOF = true;
 			break;
+		}
 
 		c = !c;
 
@@ -771,13 +782,17 @@ static int inode_getblk(struct inode *inode, struct udf_map_rq *map)
 	 * Move prev_epos and cur_epos into indirect extent if we are at
 	 * the pointer to it
 	 */
-	udf_next_aext(inode, &prev_epos, &tmpeloc, &tmpelen, 0);
-	udf_next_aext(inode, &cur_epos, &tmpeloc, &tmpelen, 0);
+	ret = udf_next_aext(inode, &prev_epos, &tmpeloc, &tmpelen, &tmpetype, 0);
+	if (ret < 0)
+		goto out_free;
+	ret = udf_next_aext(inode, &cur_epos, &tmpeloc, &tmpelen, &tmpetype, 0);
+	if (ret < 0)
+		goto out_free;
 
 	/* if the extent is allocated and recorded, return the block
 	   if the extent is not a multiple of the blocksize, round up */
 
-	if (etype == (EXT_RECORDED_ALLOCATED >> 30)) {
+	if (!isBeyondEOF && etype == (EXT_RECORDED_ALLOCATED >> 30)) {
 		if (elen & (inode->i_sb->s_blocksize - 1)) {
 			elen = EXT_RECORDED_ALLOCATED |
 				((elen + inode->i_sb->s_blocksize - 1) &
@@ -793,10 +808,9 @@ static int inode_getblk(struct inode *inode, struct udf_map_rq *map)
 	}
 
 	/* Are we beyond EOF and preallocated extent? */
-	if (etype == -1) {
+	if (isBeyondEOF) {
 		loff_t hole_len;
 
-		isBeyondEOF = true;
 		if (count) {
 			if (c)
 				laarr[0] = laarr[1];
@@ -832,7 +846,6 @@ static int inode_getblk(struct inode *inode, struct udf_map_rq *map)
 		endnum = c + 1;
 		lastblock = 1;
 	} else {
-		isBeyondEOF = false;
 		endnum = startnum = ((count > 2) ? 2 : count);
 
 		/* if the current extent is in position 0,
@@ -846,15 +859,17 @@ static int inode_getblk(struct inode *inode, struct udf_map_rq *map)
 
 		/* if the current block is located in an extent,
 		   read the next extent */
-		etype = udf_next_aext(inode, &next_epos, &eloc, &elen, 0);
-		if (etype != -1) {
+		ret = udf_next_aext(inode, &next_epos, &eloc, &elen, &etype, 0);
+		if (ret > 0) {
 			laarr[c + 1].extLength = (etype << 30) | elen;
 			laarr[c + 1].extLocation = eloc;
 			count++;
 			startnum++;
 			endnum++;
-		} else
+		} else if (ret == 0)
 			lastblock = 1;
+		else
+			goto out_free;
 	}
 
 	/* if the current extent is not recorded but allocated, get the
@@ -1172,6 +1187,7 @@ static int udf_update_extents(struct inode *inode, struct kernel_long_ad *laarr,
 	int start = 0, i;
 	struct kernel_lb_addr tmploc;
 	uint32_t tmplen;
+	int8_t tmpetype;
 	int err;
 
 	if (startnum > endnum) {
@@ -1189,14 +1205,19 @@ static int udf_update_extents(struct inode *inode, struct kernel_long_ad *laarr,
 			 */
 			if (err < 0)
 				return err;
-			udf_next_aext(inode, epos, &laarr[i].extLocation,
-				      &laarr[i].extLength, 1);
+			err = udf_next_aext(inode, epos, &laarr[i].extLocation,
+				      &laarr[i].extLength, &tmpetype, 1);
+			if (err < 0)
+				return err;
 			start++;
 		}
 	}
 
 	for (i = start; i < endnum; i++) {
-		udf_next_aext(inode, epos, &tmploc, &tmplen, 0);
+		err = udf_next_aext(inode, epos, &tmploc, &tmplen, &tmpetype, 0);
+		if (err < 0)
+			return err;
+
 		udf_write_aext(inode, epos, &laarr[i].extLocation,
 			       laarr[i].extLength, 1);
 	}
@@ -2168,24 +2189,30 @@ void udf_write_aext(struct inode *inode, struct extent_position *epos,
  */
 #define UDF_MAX_INDIR_EXTS 16
 
-int8_t udf_next_aext(struct inode *inode, struct extent_position *epos,
-		     struct kernel_lb_addr *eloc, uint32_t *elen, int inc)
+/*
+ * Returns 1 on success, -errno on error, 0 on hit EOF.
+ */
+int udf_next_aext(struct inode *inode, struct extent_position *epos,
+		  struct kernel_lb_addr *eloc, uint32_t *elen, int8_t *etype,
+		  int inc)
 {
-	int8_t etype;
 	unsigned int indirections = 0;
 	int ret = 0;
+	udf_pblk_t block;
 
-	while ((ret = udf_current_aext(inode, epos, eloc, elen,
-				       &etype, inc)) > 0) {
-		if (etype != (EXT_NEXT_EXTENT_ALLOCDESCS >> 30))
-			break;
-		udf_pblk_t block;
+	while (1) {
+		ret = udf_current_aext(inode, epos, eloc, elen,
+				       etype, inc);
+		if (ret <= 0)
+			return ret;
+		if (*etype != (EXT_NEXT_EXTENT_ALLOCDESCS >> 30))
+			return ret;
 
 		if (++indirections > UDF_MAX_INDIR_EXTS) {
 			udf_err(inode->i_sb,
 				"too many indirect extents in inode %lu\n",
 				inode->i_ino);
-			return -1;
+			return -EFSCORRUPTED;
 		}
 
 		epos->block = *eloc;
@@ -2195,11 +2222,9 @@ int8_t udf_next_aext(struct inode *inode, struct extent_position *epos,
 		epos->bh = sb_bread(inode->i_sb, block);
 		if (!epos->bh) {
 			udf_debug("reading block %u failed!\n", block);
-			return -1;
+			return -EIO;
 		}
 	}
-
-	return ret > 0 ? etype : -1;
 }
 
 /*
@@ -2265,20 +2290,24 @@ static int udf_insert_aext(struct inode *inode, struct extent_position epos,
 	struct kernel_lb_addr oeloc;
 	uint32_t oelen;
 	int8_t etype;
-	int err;
+	int ret;
 
 	if (epos.bh)
 		get_bh(epos.bh);
 
-	while ((etype = udf_next_aext(inode, &epos, &oeloc, &oelen, 0)) != -1) {
+	while (1) {
+		ret = udf_next_aext(inode, &epos, &oeloc, &oelen, &etype, 0);
+		if (ret <= 0)
+			break;
 		udf_write_aext(inode, &epos, &neloc, nelen, 1);
 		neloc = oeloc;
 		nelen = (etype << 30) | oelen;
 	}
-	err = udf_add_aext(inode, &epos, &neloc, nelen, 1);
+	if (ret == 0)
+		ret = udf_add_aext(inode, &epos, &neloc, nelen, 1);
 	brelse(epos.bh);
 
-	return err;
+	return ret;
 }
 
 int8_t udf_delete_aext(struct inode *inode, struct extent_position epos)
@@ -2290,6 +2319,7 @@ int8_t udf_delete_aext(struct inode *inode, struct extent_position epos)
 	struct udf_inode_info *iinfo;
 	struct kernel_lb_addr eloc;
 	uint32_t elen;
+	int ret;
 
 	if (epos.bh) {
 		get_bh(epos.bh);
@@ -2305,10 +2335,18 @@ int8_t udf_delete_aext(struct inode *inode, struct extent_position epos)
 		adsize = 0;
 
 	oepos = epos;
-	if (udf_next_aext(inode, &epos, &eloc, &elen, 1) == -1)
+	if (udf_next_aext(inode, &epos, &eloc, &elen, &etype, 1) <= 0)
 		return -1;
 
-	while ((etype = udf_next_aext(inode, &epos, &eloc, &elen, 1)) != -1) {
+	while (1) {
+		ret = udf_next_aext(inode, &epos, &eloc, &elen, &etype, 1);
+		if (ret < 0) {
+			brelse(epos.bh);
+			brelse(oepos.bh);
+			return -1;
+		}
+		if (ret == 0)
+			break;
 		udf_write_aext(inode, &oepos, &eloc, (etype << 30) | elen, 1);
 		if (oepos.bh != epos.bh) {
 			oepos.block = epos.block;
@@ -2373,6 +2411,7 @@ int8_t inode_bmap(struct inode *inode, sector_t block,
 	loff_t lbcount = 0, bcount = (loff_t) block << blocksize_bits;
 	int8_t etype;
 	struct udf_inode_info *iinfo;
+	int err = 0;
 
 	iinfo = UDF_I(inode);
 	if (!udf_read_extent_cache(inode, bcount, &lbcount, pos)) {
@@ -2382,10 +2421,12 @@ int8_t inode_bmap(struct inode *inode, sector_t block,
 	}
 	*elen = 0;
 	do {
-		etype = udf_next_aext(inode, pos, eloc, elen, 1);
-		if (etype == -1) {
-			*offset = (bcount - lbcount) >> blocksize_bits;
-			iinfo->i_lenExtents = lbcount;
+		err = udf_next_aext(inode, pos, eloc, elen, &etype, 1);
+		if (err <= 0) {
+			if (err == 0) {
+				*offset = (bcount - lbcount) >> blocksize_bits;
+				iinfo->i_lenExtents = lbcount;
+			}
 			return -1;
 		}
 		lbcount += *elen;
diff --git a/fs/udf/super.c b/fs/udf/super.c
index 3460ecc826d16..1c8a736b33097 100644
--- a/fs/udf/super.c
+++ b/fs/udf/super.c
@@ -2482,13 +2482,14 @@ static unsigned int udf_count_free_table(struct super_block *sb,
 	uint32_t elen;
 	struct kernel_lb_addr eloc;
 	struct extent_position epos;
+	int8_t etype;
 
 	mutex_lock(&UDF_SB(sb)->s_alloc_mutex);
 	epos.block = UDF_I(table)->i_location;
 	epos.offset = sizeof(struct unallocSpaceEntry);
 	epos.bh = NULL;
 
-	while (udf_next_aext(table, &epos, &eloc, &elen, 1) != -1)
+	while (udf_next_aext(table, &epos, &eloc, &elen, &etype, 1) > 0)
 		accum += (elen >> table->i_sb->s_blocksize_bits);
 
 	brelse(epos.bh);
diff --git a/fs/udf/truncate.c b/fs/udf/truncate.c
index 4758ba7b5f51c..399958f891d14 100644
--- a/fs/udf/truncate.c
+++ b/fs/udf/truncate.c
@@ -69,6 +69,7 @@ void udf_truncate_tail_extent(struct inode *inode)
 	int8_t etype = -1, netype;
 	int adsize;
 	struct udf_inode_info *iinfo = UDF_I(inode);
+	int ret;
 
 	if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB ||
 	    inode->i_size == iinfo->i_lenExtents)
@@ -85,7 +86,10 @@ void udf_truncate_tail_extent(struct inode *inode)
 		BUG();
 
 	/* Find the last extent in the file */
-	while ((netype = udf_next_aext(inode, &epos, &eloc, &elen, 1)) != -1) {
+	while (1) {
+		ret = udf_next_aext(inode, &epos, &eloc, &elen, &netype, 1);
+		if (ret <= 0)
+			break;
 		etype = netype;
 		lbcount += elen;
 		if (lbcount > inode->i_size) {
@@ -101,7 +105,8 @@ void udf_truncate_tail_extent(struct inode *inode)
 			epos.offset -= adsize;
 			extent_trunc(inode, &epos, &eloc, etype, elen, nelen);
 			epos.offset += adsize;
-			if (udf_next_aext(inode, &epos, &eloc, &elen, 1) != -1)
+			if (udf_next_aext(inode, &epos, &eloc, &elen,
+					  &netype, 1) > 0)
 				udf_err(inode->i_sb,
 					"Extent after EOF in inode %u\n",
 					(unsigned)inode->i_ino);
@@ -110,7 +115,8 @@ void udf_truncate_tail_extent(struct inode *inode)
 	}
 	/* This inode entry is in-memory only and thus we don't have to mark
 	 * the inode dirty */
-	iinfo->i_lenExtents = inode->i_size;
+	if (ret == 0)
+		iinfo->i_lenExtents = inode->i_size;
 	brelse(epos.bh);
 }
 
@@ -124,6 +130,8 @@ void udf_discard_prealloc(struct inode *inode)
 	int8_t etype = -1;
 	struct udf_inode_info *iinfo = UDF_I(inode);
 	int bsize = i_blocksize(inode);
+	int8_t tmpetype = -1;
+	int ret;
 
 	if (iinfo->i_alloc_type == ICBTAG_FLAG_AD_IN_ICB ||
 	    ALIGN(inode->i_size, bsize) == ALIGN(iinfo->i_lenExtents, bsize))
@@ -132,15 +140,23 @@ void udf_discard_prealloc(struct inode *inode)
 	epos.block = iinfo->i_location;
 
 	/* Find the last extent in the file */
-	while (udf_next_aext(inode, &epos, &eloc, &elen, 0) != -1) {
+	while (1) {
+		ret = udf_next_aext(inode, &epos, &eloc, &elen, &tmpetype, 0);
+		if (ret < 0)
+			goto out;
+		if (ret == 0)
+			break;
 		brelse(prev_epos.bh);
 		prev_epos = epos;
 		if (prev_epos.bh)
 			get_bh(prev_epos.bh);
 
-		etype = udf_next_aext(inode, &epos, &eloc, &elen, 1);
+		ret = udf_next_aext(inode, &epos, &eloc, &elen, &etype, 1);
+		if (ret < 0)
+			goto out;
 		lbcount += elen;
 	}
+
 	if (etype == (EXT_NOT_RECORDED_ALLOCATED >> 30)) {
 		lbcount -= elen;
 		udf_delete_aext(inode, prev_epos);
@@ -150,6 +166,7 @@ void udf_discard_prealloc(struct inode *inode)
 	/* This inode entry is in-memory only and thus we don't have to mark
 	 * the inode dirty */
 	iinfo->i_lenExtents = lbcount;
+out:
 	brelse(epos.bh);
 	brelse(prev_epos.bh);
 }
diff --git a/fs/udf/udfdecl.h b/fs/udf/udfdecl.h
index d893db95ac70e..5067ed68a8b45 100644
--- a/fs/udf/udfdecl.h
+++ b/fs/udf/udfdecl.h
@@ -169,8 +169,9 @@ extern int udf_add_aext(struct inode *, struct extent_position *,
 extern void udf_write_aext(struct inode *, struct extent_position *,
 			   struct kernel_lb_addr *, uint32_t, int);
 extern int8_t udf_delete_aext(struct inode *, struct extent_position);
-extern int8_t udf_next_aext(struct inode *, struct extent_position *,
-			    struct kernel_lb_addr *, uint32_t *, int);
+extern int udf_next_aext(struct inode *inode, struct extent_position *epos,
+			 struct kernel_lb_addr *eloc, uint32_t *elen,
+			 int8_t *etype, int inc);
 extern int udf_current_aext(struct inode *inode, struct extent_position *epos,
 			    struct kernel_lb_addr *eloc, uint32_t *elen,
 			    int8_t *etype, int inc);
-- 
2.43.0




  parent reply	other threads:[~2024-10-28  6:50 UTC|newest]

Thread overview: 278+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-28  6:22 [PATCH 6.11 000/261] 6.11.6-rc1 review Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 001/261] bpf: Use raw_spinlock_t in ringbuf Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 002/261] iio: accel: bma400: Fix uninitialized variable field_value in tap event handling Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 003/261] reset: starfive: jh71x0: Fix accessing the empty member on JH7110 SoC Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 004/261] bpf: sync_linked_regs() must preserve subreg_def Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 005/261] bpf: Make sure internal and UAPI bpf_redirect flags dont overlap Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 006/261] irqchip/riscv-imsic: Fix output text of base address Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 007/261] bpf: devmap: provide rxq after redirect Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 008/261] cpufreq/amd-pstate: Fix amd_pstate mode switch on shared memory systems Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 009/261] lib/Kconfig.debug: fix grammar in RUST_BUILD_ASSERT_ALLOW Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 010/261] bpf: Fix memory leak in bpf_core_apply Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 011/261] RDMA/bnxt_re: Fix a possible memory leak Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 012/261] RDMA/bnxt_re: Fix incorrect AVID type in WQE structure Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 013/261] RDMA/bnxt_re: Add a check for memory allocation Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 014/261] RDMA/core: Fix ENODEV error for iWARP test over vlan Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 015/261] x86/resctrl: Avoid overflow in MB settings in bw_validate() Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 016/261] ARM: dts: bcm2837-rpi-cm3-io3: Fix HDMI hpd-gpio pin Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 017/261] clk: rockchip: fix finding of maximum clock ID Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 018/261] bpf: Check the remaining info_cnt before repeating btf fields Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 019/261] bpf: fix unpopulated name_len field in perf_event link info Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 020/261] selftests/bpf: fix perf_event link info name_len assertion Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 021/261] riscv, bpf: Fix possible infinite tailcall when CONFIG_CFI_CLANG is enabled Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 022/261] s390/pci: Handle PCI error codes other than 0x3a Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 023/261] bpf: fix kfunc btf caching for modules Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 024/261] iio: frequency: {admv4420,adrf6780}: format Kconfig entries Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 025/261] iio: frequency: admv4420: fix missing select REMAP_SPI in Kconfig Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 026/261] drm/vmwgfx: Handle possible ENOMEM in vmw_stdu_connector_atomic_check Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 027/261] selftests/bpf: Fix cross-compiling urandom_read Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 028/261] bpf: Fix unpopulated path_size when uprobe_multi fields unset Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 029/261] sched/core: Disable page allocation in task_tick_mm_cid() Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 030/261] ALSA: hda/cs8409: Fix possible NULL dereference Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 031/261] firmware: arm_scmi: Fix the double free in scmi_debugfs_common_setup() Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 032/261] RDMA/cxgb4: Fix RDMA_CM_EVENT_UNREACHABLE error for iWARP Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 033/261] RDMA/irdma: Fix misspelling of "accept*" Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 034/261] RDMA/srpt: Make slab cache names unique Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 035/261] elevator: do not request_module if elevator exists Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 036/261] elevator: Remove argument from elevator_find_get Greg Kroah-Hartman
2024-10-28  6:22 ` [PATCH 6.11 037/261] ipv4: give an IPv4 dev to blackhole_netdev Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 038/261] net: sparx5: fix source port register when mirroring Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 039/261] RDMA/bnxt_re: Fix the max CQ WQEs for older adapters Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 040/261] RDMA/bnxt_re: Fix out of bound check Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 041/261] RDMA/bnxt_re: Fix incorrect dereference of srq in async event Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 042/261] RDMA/bnxt_re: Return more meaningful error Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 043/261] RDMA/bnxt_re: Avoid CPU lockups due fifo occupancy check loop Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 044/261] RDMA/bnxt_re: Get the toggle bits from SRQ events Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 045/261] RDMA/bnxt_re: Change the sequence of updating the CQ toggle value Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 046/261] RDMA/bnxt_re: Fix a bug while setting up Level-2 PBL pages Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 047/261] RDMA/bnxt_re: Fix the GID table length Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 048/261] accel/qaic: Fix the for loop used to walk SG table Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 049/261] drm/panel: himax-hx83102: Adjust power and gamma to optimize brightness Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 050/261] drm/msm/dpu: make sure phys resources are properly initialized Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 051/261] drm/msm/dpu: move CRTC resource assignment to dpu_encoder_virt_atomic_check Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 052/261] drm/msm/dpu: check for overflow in _dpu_crtc_setup_lm_bounds() Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 053/261] drm/msm/dsi: improve/fix dsc pclk calculation Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 054/261] drm/msm/dsi: fix 32-bit signed integer extension in pclk_rate calculation Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 055/261] drm/msm: Avoid NULL dereference in msm_disp_state_print_regs() Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 056/261] drm/msm: Allocate memory for disp snapshot with kvzalloc() Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 057/261] firmware: arm_scmi: Queue in scmi layer for mailbox implementation Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 058/261] net/smc: Fix memory leak when using percpu refs Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 059/261] [PATCH} hwmon: (jc42) Properly detect TSE2004-compliant devices again Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 060/261] net: usb: usbnet: fix race in probe failure Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 061/261] net: stmmac: dwmac-tegra: Fix link bring-up sequence Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 062/261] octeontx2-af: Fix potential integer overflows on integer shifts Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 063/261] ring-buffer: Fix reader locking when changing the sub buffer order Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 064/261] drm/amd/amdgpu: Fix double unlock in amdgpu_mes_add_ring Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 065/261] macsec: dont increment counters for an unrelated SA Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 066/261] netdevsim: use cond_resched() in nsim_dev_trap_report_work() Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 067/261] net: ethernet: aeroflex: fix potential memory leak in greth_start_xmit_gbit() Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 068/261] net/smc: Fix searching in list of known pnetids in smc_pnet_add_pnetid Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 069/261] net: xilinx: axienet: fix potential memory leak in axienet_start_xmit() Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 070/261] net: ethernet: rtsn: fix potential memory leak in rtsn_start_xmit() Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 071/261] bpf: Fix truncation bug in coerce_reg_to_size_sx() Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 072/261] net: systemport: fix potential memory leak in bcm_sysport_xmit() Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 073/261] irqchip/renesas-rzg2l: Fix missing put_device Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 074/261] drm/msm/dpu: Dont always set merge_3d pending flush Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 075/261] drm/msm/dpu: dont always program merge_3d block Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 076/261] net: bcmasp: fix potential memory leak in bcmasp_xmit() Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 077/261] drm/msm/a6xx+: Insert a fence wait before SMMU table update Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 078/261] tcp/dccp: Dont use timer_pending() in reqsk_queue_unlink() Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 079/261] net: dsa: mv88e6xxx: Fix the max_vid definition for the MV88E6361 Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 080/261] genetlink: hold RCU in genlmsg_mcast() Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 081/261] ravb: Remove setting of RX software timestamp Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 082/261] net: ravb: Only advertise Rx/Tx timestamps if hardware supports it Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 083/261] net: dsa: vsc73xx: fix reception from VLAN-unaware bridges Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 084/261] scsi: target: core: Fix null-ptr-deref in target_alloc_device() Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 085/261] smb: client: fix possible double free in smb2_set_ea() Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 086/261] smb: client: fix OOBs when building SMB2_IOCTL request Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 087/261] usb: typec: altmode should keep reference to parent Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 088/261] s390: Initialize psw mask in perf_arch_fetch_caller_regs() Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 089/261] drm/xe: fix unbalanced rpm put() with fence_fini() Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 090/261] drm/xe: fix unbalanced rpm put() with declare_wedged() Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 091/261] drm/xe: Take job list lock in xe_sched_add_pending_job Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 092/261] drm/xe: Dont free job in TDR Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 093/261] drm/xe: Use bookkeep slots for external BOs in exec IOCTL Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 094/261] bpf: Fix link info netfilter flags to populate defrag flag Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 095/261] Bluetooth: bnep: fix wild-memory-access in proto_unregister Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 096/261] vmxnet3: Fix packet corruption in vmxnet3_xdp_xmit_frame Greg Kroah-Hartman
2024-10-28  6:23 ` [PATCH 6.11 097/261] net: ethernet: mtk_eth_soc: fix memory corruption during fq dma init Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 098/261] net/mlx5: Check for invalid vector index on EQ creation Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 099/261] net/mlx5: Fix command bitmask initialization Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 100/261] net/mlx5: Unregister notifier on eswitch init failure Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 101/261] net/mlx5e: Dont call cleanup on profile rollback failure Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 102/261] bpf, sockmap: SK_DROP on attempted redirects of unsupported af_vsock Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 103/261] vsock: Update rx_bytes on read_skb() Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 104/261] vsock: Update msg_count " Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 105/261] bpf, vsock: Drop static vsock_bpf_prot initialization Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 106/261] riscv, bpf: Make BPF_CMPXCHG fully ordered Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 107/261] nvme-pci: fix race condition between reset and nvme_dev_disable() Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 108/261] bpf: Fix iter/task tid filtering Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 109/261] bpf: Fix incorrect delta propagation between linked registers Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 110/261] bpf: Fix print_reg_states constant scalar dump Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 111/261] cdrom: Avoid barrier_nospec() in cdrom_ioctl_media_changed() Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 112/261] fgraph: Allocate ret_stack_list with proper size Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 113/261] mm: shmem: rename shmem_is_huge() to shmem_huge_global_enabled() Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 114/261] mm: shmem: move shmem_huge_global_enabled() into shmem_allowable_huge_orders() Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 115/261] mm: huge_memory: add vma_thp_disabled() and thp_disabled_by_hw() Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 116/261] mm: dont install PMD mappings when THPs are disabled by the hw/process/vma Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 117/261] iio: adc: ti-lmp92064: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 118/261] xhci: dbgtty: remove kfifo_out() wrapper Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 119/261] xhci: dbgtty: use kfifo from tty_port struct Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 120/261] xhci: dbc: honor usb transfer size boundaries Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 121/261] uprobe: avoid out-of-bounds memory access of fetching args Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 122/261] drm/vboxvideo: Replace fake VLA at end of vbva_mouse_pointer_shape with real VLA Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 123/261] ASoC: amd: yc: Add quirk for HP Dragonfly pro one Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 124/261] ASoC: codecs: lpass-rx-macro: add missing CDC_RX_BCL_VBAT_RF_PROC2 to default regs values Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 125/261] ASoC: fsl_sai: Enable FIFO continue on error FCONT bit Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 126/261] arm64: Force position-independent veneers Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 127/261] udf: refactor udf_current_aext() to handle error Greg Kroah-Hartman
2024-10-28  6:24 ` Greg Kroah-Hartman [this message]
2024-10-28  6:24 ` [PATCH 6.11 129/261] udf: refactor inode_bmap() " Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 130/261] udf: fix uninit-value use in udf_get_fileshortad Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 131/261] ASoC: qcom: sm8250: add qrb4210-rb2-sndcard compatible string Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 132/261] fsnotify: Avoid data race between fsnotify_recalc_mask() and fsnotify_object_watched() Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 133/261] drm/xe/mcr: Use Xe2_LPM steering tables for Xe2_HPM Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 134/261] cifs: Validate content of NFS reparse point buffer Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 135/261] platform/x86: dell-sysman: add support for alienware products Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 136/261] LoongArch: Dont crash in stack_top() for tasks without vDSO Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 137/261] objpool: fix choosing allocation for percpu slots Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 138/261] jfs: Fix sanity check in dbMount Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 139/261] tracing/probes: Fix MAX_TRACE_ARGS limit handling Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 140/261] tracing: Consider the NULL character when validating the event length Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 141/261] xfrm: extract dst lookup parameters into a struct Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 142/261] xfrm: respect ip protocols rules criteria when performing dst lookups Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 143/261] xfrm: validate new SAs prefixlen using SA family when sel.family is unset Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 144/261] netfilter: bpf: must hold reference on net namespace Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 145/261] net: pse-pd: Fix out of bound for loop Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 146/261] net/sun3_82586: fix potential memory leak in sun3_82586_send_packet() Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 147/261] be2net: fix potential memory leak in be_xmit() Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 148/261] net: plip: fix break; causing plip to never transmit Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 149/261] bnxt_en: replace ptp_lock with irqsave variant Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 150/261] octeon_ep: Implement helper for iterating packets in Rx queue Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 151/261] octeon_ep: Add SKB allocation failures handling in __octep_oq_process_rx() Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 152/261] net: dsa: mv88e6xxx: Fix error when setting port policy on mv88e6393x Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 153/261] bpf, arm64: Fix address emission with tag-based KASAN enabled Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 154/261] fsl/fman: Save device references taken in mac_probe() Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 155/261] fsl/fman: Fix refcount handling of fman-related devices Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 156/261] netfilter: xtables: fix typo causing some targets not to load on IPv6 Greg Kroah-Hartman
2024-10-28  6:24 ` [PATCH 6.11 157/261] net: wwan: fix global oob in wwan_rtnl_policy Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 158/261] net: fix races in netdev_tx_sent_queue()/dev_watchdog() Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 159/261] virtio_net: fix integer overflow in stats Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 160/261] mlxsw: spectrum_router: fix xa_store() error checking Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 161/261] net: usb: usbnet: fix name regression Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 162/261] bpf: Preserve param->string when parsing mount options Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 163/261] bpf: Add MEM_WRITE attribute Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 164/261] bpf: Fix overloading of MEM_UNINITs meaning Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 165/261] bpf: Remove MEM_UNINIT from skb/xdp MTU helpers Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 166/261] net/sched: act_api: deny mismatched skip_sw/skip_hw flags for actions created by classifiers Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 167/261] net: sched: fix use-after-free in taprio_change() Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 168/261] net: sched: use RCU read-side critical section in taprio_dump() Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 169/261] r8169: avoid unsolicited interrupts Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 170/261] posix-clock: posix-clock: Fix unbalanced locking in pc_clock_settime() Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 171/261] Bluetooth: hci_core: Disable works on hci_unregister_dev Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 172/261] Bluetooth: SCO: Fix UAF on sco_sock_timeout Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 173/261] Bluetooth: ISO: Fix UAF on iso_sock_timeout Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 174/261] bpf,perf: Fix perf_event_detach_bpf_prog error handling Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 175/261] bpf: fix do_misc_fixups() for bpf_get_branch_snapshot() Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 176/261] net: dsa: microchip: disable EEE for KSZ879x/KSZ877x/KSZ876x Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 177/261] net: dsa: mv88e6xxx: group cycle counter coefficients Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 178/261] net: dsa: mv88e6xxx: read cycle counter period from hardware Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 179/261] net: dsa: mv88e6xxx: support 4000ps cycle counter period Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 180/261] bpf: Add the missing BPF_LINK_TYPE invocation for sockmap Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 181/261] ASoC: dt-bindings: davinci-mcasp: Fix interrupts property Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 182/261] ASoC: dt-bindings: davinci-mcasp: Fix interrupt properties Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 183/261] ASoC: loongson: Fix component check failed on FDT systems Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 184/261] ASoC: topology: Bump minimal topology ABI version Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 185/261] ASoC: max98388: Fix missing increment of variable slot_found Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 186/261] ASoC: rsnd: Fix probe failure on HiHope boards due to endpoint parsing Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 187/261] PCI: Hold rescan lock while adding devices during host probe Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 188/261] fs: pass offset and result to backing_file end_write() callback Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 189/261] fuse: update inode size after extending passthrough write Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 190/261] ASoC: fsl_micfil: Add a flag to distinguish with different volume control types Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 191/261] ALSA: firewire-lib: Avoid division by zero in apply_constraint_to_size() Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 192/261] fbdev: wm8505fb: select CONFIG_FB_IOMEM_FOPS Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 193/261] powercap: dtpm_devfreq: Fix error check against dev_pm_qos_add_request() Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 194/261] nfsd: cancel nfsd_shrinker_work using sync mode in nfs4_state_shutdown_net Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 195/261] ALSA: hda/realtek: Update default depop procedure Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 196/261] smb: client: Handle kstrdup failures for passwords Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 197/261] cifs: fix warning when destroy cifs_io_request_pool Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 198/261] PCI/pwrctl: Add WCN6855 support Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 199/261] PCI/pwrctl: Abandon QCom WCN probe on pre-pwrseq device-trees Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 200/261] cpufreq: CPPC: fix perf_to_khz/khz_to_perf conversion exception Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 201/261] btrfs: qgroup: set a more sane default value for subtree drop threshold Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 202/261] btrfs: clear force-compress on remount when compress mount option is given Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 203/261] btrfs: fix passing 0 to ERR_PTR in btrfs_search_dir_index_item() Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 204/261] x86/amd_nb: Add new PCI IDs for AMD family 1Ah model 60h-70h Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 205/261] x86/amd_nb: Add new PCI ID for AMD family 1Ah model 20h Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 206/261] perf/x86/rapl: Fix the energy-pkg event for AMD CPUs Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 207/261] btrfs: reject ro->rw reconfiguration if there are hard ro requirements Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 208/261] btrfs: zoned: fix zone unusable accounting for freed reserved extent Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 209/261] btrfs: fix read corruption due to race with extent map merging Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 210/261] drm/amd: Guard against bad data for ATIF ACPI method Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 211/261] ACPI: resource: Add LG 16T90SP to irq1_level_low_skip_override[] Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 212/261] ACPI: PRM: Find EFI_MEMORY_RUNTIME block for PRM handler and context Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 213/261] ACPI: button: Add DMI quirk for Samsung Galaxy Book2 to fix initial lid detection issue Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 214/261] nilfs2: fix kernel bug due to missing clearing of buffer delay flag Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 215/261] fs: dont try and remove empty rbtree node Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 216/261] xfs: dont fail repairs on metadata files with no attr fork Greg Kroah-Hartman
2024-10-28  6:25 ` [PATCH 6.11 217/261] openat2: explicitly return -E2BIG for (usize > PAGE_SIZE) Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 218/261] KVM: nSVM: Ignore nCR3[4:0] when loading PDPTEs from memory Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 219/261] KVM: arm64: Unregister redistributor for failed vCPU creation Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 220/261] KVM: arm64: Fix shift-out-of-bounds bug Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 221/261] KVM: arm64: Dont eagerly teardown the vgic on init error Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 222/261] firewire: core: fix invalid port index for parent device Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 223/261] x86/lam: Disable ADDRESS_MASKING in most cases Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 224/261] x86/sev: Ensure that RMP table fixups are reserved Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 225/261] ALSA: hda/tas2781: select CRC32 instead of CRC32_SARWATE Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 226/261] ALSA: hda/realtek: Add subwoofer quirk for Acer Predator G9-593 Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 227/261] LoongArch: Get correct cores_per_package for SMT systems Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 228/261] LoongArch: Enable IRQ if do_ale() triggered in irq-enabled context Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 229/261] LoongArch: Make KASAN usable for variable cpu_vabits Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 230/261] xfrm: fix one more kernel-infoleak in algo dumping Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 231/261] hv_netvsc: Fix VF namespace also in synthetic NIC NETDEV_REGISTER event Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 232/261] md/raid10: fix null ptr dereference in raid10_size() Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 233/261] drm/bridge: Fix assignment of the of_node of the parent to aux bridge Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 234/261] drm/amd/display: Disable PSR-SU on Parade 08-01 TCON too Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 235/261] platform/x86/intel/pmc: Fix pmc_core_iounmap to call iounmap for valid addresses Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 236/261] fgraph: Fix missing unlock in register_ftrace_graph() Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 237/261] fgraph: Change the name of cpuhp state to "fgraph:online" Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 238/261] net: phy: dp83822: Fix reset pin definitions Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 239/261] nfsd: fix race between laundromat and free_stateid Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 240/261] block: fix sanity checks in blk_rq_map_user_bvec Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 241/261] drm/amd/display: temp w/a for DP Link Layer compliance Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 242/261] ata: libata: Set DID_TIME_OUT for commands that actually timed out Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 243/261] ASoC: SOF: Intel: hda-loader: do not wait for HDaudio IOC Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 244/261] ASoC: SOF: Intel: hda: Handle prepare without close for non-HDA DAIs Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 245/261] ASoC: SOF: Intel: hda: Always clean up link DMA during stop Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 246/261] ASoC: SOF: ipc4-topology: Do not set ALH node_id for aggregated DAIs Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 247/261] ASoC: dapm: avoid container_of() to get component Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 248/261] ASoC: qcom: sc7280: Fix missing Soundwire runtime stream alloc Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 249/261] ASoC: qcom: sdm845: add missing soundwire " Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 250/261] ASoC: qcom: Fix NULL Dereference in asoc_qcom_lpass_cpu_platform_probe() Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 251/261] Revert " fs/9p: mitigate inode collisions" Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 252/261] Revert "fs/9p: remove redundant pointer v9ses" Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 253/261] Revert "fs/9p: fix uaf in in v9fs_stat2inode_dotl" Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 254/261] Revert "fs/9p: simplify iget to remove unnecessary paths" Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 255/261] soundwire: intel_ace2x: Send PDI stream number during prepare Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 256/261] x86: support user address masking instead of non-speculative conditional Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 257/261] x86: fix whitespace in runtime-const assembler output Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 258/261] x86: fix user address masking non-canonical speculation issue Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 259/261] platform/x86: dell-wmi: Ignore suspend notifications Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 260/261] ACPI: PRM: Clean up guid type in struct prm_handler_info Greg Kroah-Hartman
2024-10-28  6:26 ` [PATCH 6.11 261/261] ASoC: qcom: Select missing common Soundwire module code on SDM845 Greg Kroah-Hartman
2024-10-28  8:02 ` [PATCH 6.11 000/261] 6.11.6-rc1 review Miguel Ojeda
2024-10-28 10:02 ` latest stable-rc tarballs missing? (was: Re: [PATCH 6.11 000/261] 6.11.6-rc1 review) Thorsten Leemhuis
2024-10-28 23:22   ` Greg Kroah-Hartman
2024-10-28 14:14 ` [PATCH 6.11 000/261] 6.11.6-rc1 review Mark Brown
2024-10-28 15:44 ` Naresh Kamboju
2024-10-28 15:52   ` Oliver Upton
2024-10-28 17:52 ` SeongJae Park
2024-10-28 19:50 ` Peter Schneider
2024-10-29  2:09 ` [PATCH 6.11] " Hardik Garg
2024-10-29  8:57 ` [PATCH 6.11 000/261] " Muhammad Usama Anjum
2024-10-29 11:36 ` Christian Heusel
2024-10-29 14:18   ` Luna Jernberg
2024-10-29 16:51 ` Markus Reichelt
2024-10-29 17:07 ` Justin Forbes
2024-10-29 20:29 ` Pavel Machek
2024-10-30  1:24 ` Ron Economos

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=20241028062315.244040602@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=jack@suse.cz \
    --cc=patches@lists.linux.dev \
    --cc=sashal@kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=zhaomengmeng@kylinos.cn \
    /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