Skip to contentSkip to conversation

FS-Cache: wake up write waiter after invalidating writes

PATCH In review Yan, Zheng 2 participants 2 messages May 17, 2016 – May 31, 2016

lore
Share & tools
lore

Yan, Zheng

author
#0 lore raw

PATCH 1/1 FS-Cache: wake up write waiter after invalidating writes

---
 fs/fscache/page.c | 2 ++
 1 file changed, 2 insertions(+)
fs/fscache/page.c +2 -0
index 3078b67..c8c4f79 100644
@@ -887,6 +887,8 @@ void fscache_invalidate_writes(struct fscache_cookie *cookie)
 			put_page(results[i]);
 	}
 
+	wake_up_bit(&cookie->flags, 0);
+
 	_leave("");
 }
 
Signature · 1 line
2.5.5