efi-pstore: Make efi-pstore return a unique id
authorMadper Xie <cxie@redhat.com>
Fri, 29 Nov 2013 07:58:57 +0000 (15:58 +0800)
committerMatt Fleming <matt.fleming@intel.com>
Fri, 29 Nov 2013 10:11:06 +0000 (10:11 +0000)
Pstore fs expects that backends provide a unique 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@redhat.com>
Cc: Seiji Aguchi <seiji.aguchi@hds.com>
Cc: stable@vger.kernel.org
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
drivers/firmware/efi/efi-pstore.c

Simple merge