diff options
author | Yan, Zheng <zyan@redhat.com> | 2016-05-17 11:52:48 +0800 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2016-06-01 10:29:09 +0200 |
commit | d2138455286f9db8fbff9b50b53b51766f6c1f92 (patch) | |
tree | 94ad3c7eeb58a229cf359dd36fe8ef28a42569d0 /fs/fscache | |
parent | 4a3262b17c96b6ff332134c9e57f193a20226eb2 (diff) | |
download | op-kernel-dev-d2138455286f9db8fbff9b50b53b51766f6c1f92.zip op-kernel-dev-d2138455286f9db8fbff9b50b53b51766f6c1f92.tar.gz |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
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(""); } |