os/filestore/FileStore.cc: In member function ‘int FileStore::_zero(const coll_t&, const ghobject_t&, uint64_t, size_t)’:
os/filestore/FileStore.cc:3328:2: warning: label ‘out’ defined but not used [-Wunused-label]
out:
^
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
ret = _write(cid, oid, offset, len, bl);
}
+#ifdef CEPH_HAVE_FALLOCATE
+# if !defined(DARWIN) && !defined(__FreeBSD__)
+# ifdef FALLOC_FL_KEEP_SIZE
out:
+# endif
+# endif
+#endif
dout(20) << "zero " << cid << "/" << oid << " " << offset << "~" << len << " = " << ret << dendl;
return ret;
}