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-04 13:50:09 -0700 |
commit | 391a885f703543b18b8f03265e429b3315abfaea (patch) | |
tree | b3afd429425d7a4bcd7f1262d899a47e340c458d | |
parent | 0c1e251351ca030cc9e8eaa753e3a70890c8b3a0 (diff) | |
download | ceph-391a885f703543b18b8f03265e429b3315abfaea.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 } } |