mirror of
https://github.com/ceph/ceph
synced 2025-02-20 01:17:47 +00:00
filestore: fix signedness so we can handle errors from safe_pread
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
This commit is contained in:
parent
69c7e59cb7
commit
8fe0f48b75
@ -2039,7 +2039,7 @@ int FileStore::stat(coll_t cid, const sobject_t& oid, struct stat *st)
|
||||
int FileStore::read(coll_t cid, const sobject_t& oid,
|
||||
uint64_t offset, size_t len, bufferlist& bl)
|
||||
{
|
||||
size_t got;
|
||||
int got;
|
||||
char fn[PATH_MAX];
|
||||
get_coname(cid, oid, fn, sizeof(fn));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user