]> git.baikalelectronics.ru Git - kernel.git/commit
ubi: Introduce in_pq()
authorRichard Weinberger <richard@nod.at>
Wed, 7 Nov 2018 22:16:18 +0000 (23:16 +0100)
committerRichard Weinberger <richard@nod.at>
Sun, 24 Feb 2019 10:13:44 +0000 (11:13 +0100)
commitb8b2e9582137fdc8839dbc412ad64757b98cf29d
treee136f1e8176000f5265397b55fb329afe7a2a6ad
parent97ee1b25b1ac2975684e596770bd817d20cc1bbd
ubi: Introduce in_pq()

This function works like in_wl_tree() but checks whether an ubi_wl_entry
is currently in the protection queue.
We need this function to query the current state of an ubi_wl_entry.

Signed-off-by: Richard Weinberger <richard@nod.at>
drivers/mtd/ubi/wl.c