jffs2: use cond_resched() instead of yield()
authorWolfram Sang <w.sang@pengutronix.de>
Wed, 1 Sep 2010 16:03:41 +0000 (18:03 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sun, 24 Oct 2010 23:14:01 +0000 (00:14 +0100)
commit3866f673ebd86e5be2533923f5c0aed91fe1669f
treead86078472f545ddb7a607d1e7b115472855dd1d
parentd2ac467a108400ff1ae682a423c7d41265e62d47
jffs2: use cond_resched() instead of yield()

yield() has different semantics meanwhile and even causes RT-kernels to
BUG. Replace the only appearance left in jffs2.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
fs/jffs2/erase.c