]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
FileStore: make _setattrs not return -ENOENT most of the time
authorSamuel Just <sam.just@inktank.com>
Fri, 27 Sep 2013 22:31:56 +0000 (15:31 -0700)
committerSamuel Just <sam.just@inktank.com>
Fri, 4 Oct 2013 20:50:09 +0000 (13:50 -0700)
Signed-off-by: Samuel Just <sam.just@inktank.com>
src/os/FileStore.cc

index a470e63dc1c114191df683a28f09d1e93f88ec67..d37a65dbe5ac1d74f62281568f6adad71892b789 100644 (file)
@@ -3585,6 +3585,8 @@ int FileStore::_setattrs(coll_t cid, const ghobject_t& oid, map<string,bufferptr
       dout(10) << __func__ << " could not remove_xattrs r = " << r << dendl;
       assert(!m_filestore_fail_eio || r != -EIO);
       goto out_close;
+    } else {
+      r = 0; // don't confuse the debug output
     }
   }