[PATCH] FS-Cache: wake up write waiter after invalidating writes
From: Yan, Zheng
Date: Tue May 17 2016 - 09:36:10 EST
Signed-off-by: "Yan, Zheng" <zyan@xxxxxxxxxx>
---
fs/fscache/page.c | 2 ++
1 file changed, 2 insertions(+)
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("");
}
--
2.5.5