diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2007-12-18 14:54:35 +0100 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2007-12-26 18:15:16 +0100 |
commit | 593dd33c92c6529443d5df1350dc5cc76511232d (patch) | |
tree | dda360da5a5f66eb36b55a4c2e8eb985e997ffd6 /usr | |
parent | UBI: fix printk (diff) | |
download | linux-593dd33c92c6529443d5df1350dc5cc76511232d.tar.xz linux-593dd33c92c6529443d5df1350dc5cc76511232d.zip |
UBI: fix ubi_wl_flush
The flush function should finish all the pending jobs. But if
somebody else is doing a work, this function should wait and let
it finish.
This patche uses rw semaphore for synchronization purpose - it
just looks quite convinient.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions