summaryrefslogtreecommitdiff
path: root/fs/fscache
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2016-05-17 06:52:48 +0300
committerIlya Dryomov <idryomov@gmail.com>2016-06-01 11:29:09 +0300
commitd2138455286f9db8fbff9b50b53b51766f6c1f92 (patch)
tree94ad3c7eeb58a229cf359dd36fe8ef28a42569d0 /fs/fscache
parent4a3262b17c96b6ff332134c9e57f193a20226eb2 (diff)
downloadlinux-d2138455286f9db8fbff9b50b53b51766f6c1f92.tar.xz
FS-Cache: wake write waiter after invalidating writes
Signed-off-by: Yan, Zheng <zyan@redhat.com> Acked-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/fscache')
-rw-r--r--fs/fscache/page.c2
1 files changed, 2 insertions, 0 deletions
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("");
}