Re: [PATCH] ext3/4: fix uninitialized bs in ext3/4_xattr_set_handle()

From: Eric Sandeen
Date: Mon May 12 2008 - 20:19:27 EST


Tiger Yang wrote:
> Hi,
> I met a bug when I try to replace a xattr entry in ibody with a big size
> value. But in ibody there has no space for the new value. So it should
> set new xattr entry in block and remove the old xattr entry in ibody.
>
> Best regards,
> tiger
>

Tiger, do you have a testcase handy to demonstrate this?

Is the new, large out-of-inode xattr unique so that it does not match
any existing attribute block, I assume?

Thanks,

-Eric
--
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/