]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
log: do not pass negative fd to fchown
authorSage Weil <sage@redhat.com>
Mon, 14 Mar 2016 16:50:33 +0000 (12:50 -0400)
committerSage Weil <sage@redhat.com>
Mon, 14 Mar 2016 16:50:33 +0000 (12:50 -0400)
commit9ed77c82d2b1715a94e03214604575247fe56366
treee5eafcea858895bd91eda7600b48383dc8dcc248
parentcc7e2329046ef7c528f321092a464f6db6e7edb9
log: do not pass negative fd to fchown

>>>     CID 1355574:  Error handling issues  (NEGATIVE_RETURNS)
>>>     "this->m_fd" is passed to a parameter that cannot be negative.

Signed-off-by: Sage Weil <sage@redhat.com>
src/log/Log.cc