]> git.baikalelectronics.ru Git - kernel.git/commitdiff
FS-Cache: wake write waiter after invalidating writes
authorYan, Zheng <zyan@redhat.com>
Tue, 17 May 2016 03:52:48 +0000 (11:52 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 1 Jun 2016 08:29:09 +0000 (10:29 +0200)
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Acked-by: David Howells <dhowells@redhat.com>
fs/fscache/page.c

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