This is a note to let you know that I've just added the patch titled
udf: Use 'ret' instead of abusing 'i' in udf_load_logicalvol()
to the 3.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
udf-use-ret-instead-of-abusing-i-in-udf_load_logicalvol.patch
and it can be found in the queue-3.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From cb14d340ef1737c24125dd663eff77734a482d47 Mon Sep 17 00:00:00 2001
From: Jan Kara <[email protected]>
Date: Wed, 27 Jun 2012 20:08:44 +0200
Subject: udf: Use 'ret' instead of abusing 'i' in udf_load_logicalvol()
From: Jan Kara <[email protected]>
commit cb14d340ef1737c24125dd663eff77734a482d47 upstream.
Signed-off-by: Jan Kara <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
fs/udf/super.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
--- a/fs/udf/super.c
+++ b/fs/udf/super.c
@@ -1233,11 +1233,9 @@ static int udf_load_logicalvol(struct su
BUG_ON(ident != TAG_IDENT_LVD);
lvd = (struct logicalVolDesc *)bh->b_data;
- i = udf_sb_alloc_partition_maps(sb, le32_to_cpu(lvd->numPartitionMaps));
- if (i != 0) {
- ret = i;
+ ret = udf_sb_alloc_partition_maps(sb,
le32_to_cpu(lvd->numPartitionMaps));
+ if (ret)
goto out_bh;
- }
for (i = 0, offset = 0;
i < sbi->s_partitions && offset < le32_to_cpu(lvd->mapTableLength);
Patches currently in stable-queue which might be from [email protected] are
queue-3.4/udf-fortify-loading-of-sparing-table.patch
queue-3.4/udf-avoid-run-away-loop-when-partition-table-length-is-corrupted.patch
queue-3.4/udf-use-ret-instead-of-abusing-i-in-udf_load_logicalvol.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html