linux/drivers/mtd/ubi
Artem Bityutskiy 593dd33c92 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>
2007-12-26 19:15:16 +02:00
..
Kconfig UBI: Unsorted Block Images 2007-04-27 14:23:33 +03:00
Kconfig.debug UBI: Unsorted Block Images 2007-04-27 14:23:33 +03:00
Makefile UBI: Unsorted Block Images 2007-04-27 14:23:33 +03:00
build.c UBI: fix printk 2007-12-26 19:15:16 +02:00
cdev.c UBI: tweak volumes locking some more 2007-12-26 19:15:16 +02:00
debug.c UBI: use byte hexdump 2007-10-14 13:10:21 +03:00
debug.h UBI: add PID to debugging prints 2007-12-26 19:15:16 +02:00
eba.c UBI: bugfix: protect from volume removal 2007-12-26 19:15:16 +02:00
gluebi.c UBI: improve internal interfaces 2007-12-26 19:15:15 +02:00
io.c UBI: fix error code in ubi_io_read() 2007-12-26 19:15:13 +02:00
kapi.c UBI: introduce volume refcounting 2007-12-26 19:15:16 +02:00
misc.c UBI: improve internal interfaces 2007-12-26 19:15:15 +02:00
scan.c Merge branch 'master' of git://git.infradead.org/~dedekind/ubi-2.6 2007-10-14 14:29:00 +01:00
scan.h UBI: do not use vmalloc on I/O path 2007-10-14 13:10:21 +03:00
ubi.h UBI: fix ubi_wl_flush 2007-12-26 19:15:16 +02:00
upd.c UBI: tweak volumes locking 2007-12-26 19:15:15 +02:00
vmt.c UBI: tweak volumes locking some more 2007-12-26 19:15:16 +02:00
vtbl.c UBI: introduce volume refcounting 2007-12-26 19:15:16 +02:00
wl.c UBI: fix ubi_wl_flush 2007-12-26 19:15:16 +02:00