]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
FileStore: do not use user_only in collection_getattrs
authorGreg Farnum <greg@inktank.com>
Tue, 20 May 2014 20:04:02 +0000 (13:04 -0700)
committerGreg Farnum <greg@inktank.com>
Wed, 11 Jun 2014 17:48:59 +0000 (10:48 -0700)
There's no particular reason why any of the callers of collection_getattrs
want to avoid looking at Ceph's internal xattrs.
It looks like this flag (set in 1862ddd88548fd4609f4fa9715dbad42a84d3775) was
set this way by mistake.
And finally, we don't actually set xattrs on collections anymore, anyway.

Signed-off-by: Greg Farnum <greg@inktank.com>
src/os/FileStore.cc

index f183b3a3f4c5863de3f7fc1a83638740c319ecfc..b8967a8b6609627dd6658ff1dd5694f6f286ef98 100644 (file)
@@ -4039,7 +4039,7 @@ int FileStore::collection_getattrs(coll_t cid, map<string,bufferptr>& aset)
     r = -errno;
     goto out;
   }
-  r = _fgetattrs(fd, aset, true);
+  r = _fgetattrs(fd, aset, false);
   VOID_TEMP_FAILURE_RETRY(::close(fd));
  out:
   dout(10) << "collection_getattrs " << fn << " = " << r << dendl;