From: Yan, Zheng Date: Tue, 17 May 2016 03:52:48 +0000 (+0800) Subject: FS-Cache: wake write waiter after invalidating writes X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d2138455286f9db8fbff9b50b53b51766f6c1f92;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git FS-Cache: wake write waiter after invalidating writes Signed-off-by: Yan, Zheng Acked-by: David Howells --- diff --git a/fs/fscache/page.c b/fs/fscache/page.c index 3078b679fcd1..c8c4f79c7ce1 100644 --- a/fs/fscache/page.c +++ b/fs/fscache/page.c @@ -887,6 +887,8 @@ void fscache_invalidate_writes(struct fscache_cookie *cookie) put_page(results[i]); } + wake_up_bit(&cookie->flags, 0); + _leave(""); }