diff options
author | Samuel Just <sam.just@inktank.com> | 2013-09-27 15:31:56 -0700 |
---|---|---|
committer | Samuel Just <sam.just@inktank.com> | 2013-10-01 12:36:30 -0700 |
commit | 1769d619ec2e87b5a2d4bc674630d26ce957c581 (patch) | |
tree | 4b617b8e9bea65770a76bd21180a4cf32843ab5f | |
parent | bf96569394aed88d9f441493b0d64727168a9899 (diff) | |
download | ceph-1769d619ec2e87b5a2d4bc674630d26ce957c581.tar.gz |
FileStore: make _setattrs not return -ENOENT most of the time
Signed-off-by: Samuel Just <sam.just@inktank.com>
-rw-r--r-- | src/os/FileStore.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os/FileStore.cc b/src/os/FileStore.cc index a470e63dc1c..d37a65dbe5a 100644 --- a/src/os/FileStore.cc +++ b/src/os/FileStore.cc @@ -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 } } |