author: David Howells <dhowells@redhat.com> 2012-12-05 13:34:45 +0000
committer: David Howells <dhowells@redhat.com> 2012-12-20 22:07:40 +0000
commit: b4cf1e08c8ac95eff65faa53904f7f13ac78194b
parent: de242c0b8b365a9e348bf53143e18e9d8c9cfae8
Commit Summary:
Diffstat:
1 file changed, 2 insertions, 0 deletions
diff --git a/fs/fscache/page.c b/fs/fscache/page.c
index 7bf9d2557052..4dbbca162620 100644
--- a/fs/fscache/page.c
+++ b/fs/fscache/page.c
@@ -329,6 +329,8 @@ check_if_dead:
return -ENOBUFS;
}
if (unlikely(fscache_object_is_dead(object))) {
+ pr_err("%s() = -ENOBUFS [obj dead %d]", __func__, op->op.state);
+ fscache_cancel_op(&op->op);
fscache_stat(stat_object_dead);
return -ENOBUFS;
}