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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





于 2014/11/3 18:09, Matt Fleming 写道:
On Mon, 2014-11-03 at 17:57 +0800, HuKeping wrote:
From: Madper Xie <cxie@xxxxxxxxxx>

Commit fdeadb43fdf1e7d5698c027b555c389174548e5a upstream.

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@xxxxxxxxxx>
Cc: Seiji Aguchi <seiji.aguchi@xxxxxxx>
Cc: stable@xxxxxxxxxxxxxxx
Signed-off-by: Matt Fleming <matt.fleming@xxxxxxxxx>
[hkp: Backported to 3.10: adjust context]
Signed-off-by: Hu Keping <hukeping@xxxxxxxxxx>

You're also likely to want commit 783ee43118dc ("efi-pstore: Fix an
overflow on 32-bit builds") if the above commit gets merged for v3.10.



Ah, yes. It's important for 32-bit system as the MAX_LONG on such builds is only 4294967295.

What about the other commits in this series?

.


--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]