FS-Cache: wake write waiter after invalidating writes

Signed-off-by: Yan, Zheng <zyan@redhat.com>
Acked-by: David Howells <dhowells@redhat.com>
This commit is contained in:
Yan, Zheng 2016-05-17 11:52:48 +08:00 committed by Ilya Dryomov
parent 4a3262b17c
commit d213845528

View File

@ -887,6 +887,8 @@ void fscache_invalidate_writes(struct fscache_cookie *cookie)
put_page(results[i]); put_page(results[i]);
} }
wake_up_bit(&cookie->flags, 0);
_leave(""); _leave("");
} }