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)
commitfdeadb43fdf1e7d5698c027b555c389174548e5a
treec71e65562836636719d6b7b5ef706120b91dc734
parent1f3a8bae21a22808f242ccfb22aca37a635e261e
efi-pstore: Make efi-pstore return a unique id

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
This page took 0.025115 seconds and 5 git commands to generate.