From: Artem Bityutskiy Date: Tue, 18 Dec 2007 13:54:35 +0000 (+0200) Subject: UBI: fix ubi_wl_flush X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb75a46529899b58506b97c054888a529c481e24;p=pandora-kernel.git 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 --- Reading git-diff-tree failed