Эх сурвалжийг харах

FS-Cache: wake write waiter after invalidating writes

Signed-off-by: Yan, Zheng <zyan@redhat.com>
Acked-by: David Howells <dhowells@redhat.com>
Yan, Zheng 9 жил өмнө
parent
commit
d213845528

+ 2 - 0
fs/fscache/page.c

@@ -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("");
 }
 }