]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
FileJournal: check return value of lseek in write_fd
authorSamuel Just <sam.just@inktank.com>
Tue, 25 Sep 2012 21:19:49 +0000 (14:19 -0700)
committerSamuel Just <sam.just@inktank.com>
Wed, 26 Sep 2012 17:15:07 +0000 (10:15 -0700)
commit8ec08c2dae96905c796cb656c47689b21974b76c
tree1f32d0cec478b1e6dfeb90350d16a42b6b2770cd
parent5c8aea783a39d091b2467bf313397cbd8627a842
FileJournal: check return value of lseek in write_fd

CID 716859: Other violation (CHECKED_RETURN)At (1): Calling function
"lseek64(this->fd, pos, 0)" without checking return value. This library
function may fail and return an error code.

Signed-off-by: Samuel Just <sam.just@inktank.com>
src/os/FileJournal.cc