diff options
author | Yan, Zheng <zyan@redhat.com> | 2016-05-17 05:52:48 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2016-06-01 10:29:09 +0200 |
commit | d2138455286f9db8fbff9b50b53b51766f6c1f92 (patch) | |
tree | 94ad3c7eeb58a229cf359dd36fe8ef28a42569d0 /fs | |
parent | libceph: use %s instead of %pE in dout()s (diff) | |
download | linux-d2138455286f9db8fbff9b50b53b51766f6c1f92.tar.xz linux-d2138455286f9db8fbff9b50b53b51766f6c1f92.zip |
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')
-rw-r--r-- | fs/fscache/page.c | 2 |
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(""); } |