Re: [PATCH v2] efi-pstore: Make efi-pstore return a unique id

From: Matt Fleming
Date: Wed Nov 27 2013 - 06:44:51 EST


On Sat, 23 Nov, at 07:55:37PM, Madper Xie wrote:
>
> Pstore fs expects that backends provide a uniqued id which could avoid
> pstore making entries as duplication or denominating entries the same
> name. So I combine the timestamp, part and count into id.
>
> Signed-off-by: Madper Xie <cxie@xxxxxxxxxx>
> ---
> drivers/firmware/efi/efi-pstore.c | 19 +++++++++++++------
> 1 file changed, 13 insertions(+), 6 deletions(-)

Thanks unless anyone complains, I'm going to apply this.

Does this need to be tagged for stable?

--
Matt Fleming, Intel Open Source Technology Center
--
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/