]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/filestore: fix warning
authorSage Weil <sage@redhat.com>
Fri, 18 Mar 2016 14:16:49 +0000 (10:16 -0400)
committerSage Weil <sage@redhat.com>
Fri, 18 Mar 2016 14:16:49 +0000 (10:16 -0400)
commit8b9ed00812315623ad8a0ed97205a24959cbfcc1
treea7b82a2c2f17ee1e9aaad19bfa3d61a7aaa65148
parentcae8d3c89c2e79c3eee2fe78a4523f909b52d9b4
os/filestore: fix warning

os/filestore/FileStore.cc: In member function ‘int FileStore::_zero(const coll_t&, const ghobject_t&, uint64_t, size_t)’:
os/filestore/FileStore.cc:3294:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if (offset + len > st.st_size) {
                        ^

Signed-off-by: Sage Weil <sage@redhat.com>
src/os/filestore/FileStore.cc