FileStore: do not use user_only in collection_getattrs

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 1862ddd885) 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>
This commit is contained in:
Greg Farnum 2014-05-20 13:04:02 -07:00
parent 7267a37d03
commit fbe6009f22

View 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;