Re: [PATCH] ext4: do not reference pa_inode from group_pa

From: Ted Ts'o
Date: Fri Feb 10 2012 - 20:11:05 EST


On Wed, Feb 08, 2012 at 11:39:50AM +0800, Wu Fengguang wrote:
> commit 60e07cf515e541ea3e13b888d273c9b19a2ad9dd upstream.
>
> From: Yongqiang Yang <xiaoqiangnk@xxxxxxxxx>
>
> pa_inode in group_pa is set NULL in ext4_mb_new_group_pa, so
> pa_inode should be not referenced.
>
> Reported-by: Wu Fengguang <fengguang.wu@xxxxxxxxx>
> Signed-off-by: Yongqiang Yang <xiaoqiangnk@xxxxxxxxx>
> Signed-off-by: "Theodore Ts'o" <tytso@xxxxxxx>

I agree this should go into the stable kernel; it was an oversight
that I didn't add a cc: stable@xxxxxxxxxxxxxxx

Acked-by: "Theodore Ts'o" <tytso@xxxxxxx>

- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/