From 50cad2896dac0d8f4125297bd7cf7ba219a95827 Mon Sep 17 00:00:00 2001 From: Matt Benjamin Date: Tue, 8 Oct 2013 16:49:23 -0400 Subject: Don't forget an inode not found in cache. This could be working around a prematurely released inode, but the result can stably save, expand, configure, and build linux-3.11.4 (stability). Signed-off-by: Matt Benjamin --- src/client/fuse_ll.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/client/fuse_ll.cc b/src/client/fuse_ll.cc index 92a6beab762..6f7133cda1d 100644 --- a/src/client/fuse_ll.cc +++ b/src/client/fuse_ll.cc @@ -117,7 +117,10 @@ static void fuse_ll_forget(fuse_req_t req, fuse_ino_t ino, long unsigned nlookup) { CephFuse::Handle *cfuse = (CephFuse::Handle *)fuse_req_userdata(req); - cfuse->client->ll_forget(cfuse->iget(ino), nlookup+1); + Inode *in = cfuse->iget(ino); + if (in) { + cfuse->client->ll_forget(in, nlookup+1); + } fuse_reply_none(req); } -- cgit v1.2.1