From d2138455286f9db8fbff9b50b53b51766f6c1f92 Mon Sep 17 00:00:00 2001 From: "Yan, Zheng" Date: Tue, 17 May 2016 11:52:48 +0800 Subject: FS-Cache: wake write waiter after invalidating writes Signed-off-by: Yan, Zheng Acked-by: David Howells --- fs/fscache/page.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fs/fscache') diff --git a/fs/fscache/page.c b/fs/fscache/page.c index 3078b67..c8c4f79 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(""); } -- cgit v1.1