]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph_mon: use readdir() as readdir_r() is deprecated 11047/head
authorKefu Chai <kchai@redhat.com>
Mon, 12 Sep 2016 03:56:09 +0000 (11:56 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 12 Sep 2016 03:56:11 +0000 (11:56 +0800)
commit99b799630a456e8650cae27f994ad7060748fdb2
treec45ce4d05adce5c9d8680135f4d6526c0e37c3f1
parent3ff9da123dffc7d08626eb9965b7d136e1b68135
ceph_mon: use readdir() as readdir_r() is deprecated

see https://lwn.net/Articles/696469/, readdir_r() is deprecated by glibc
since 2.24. so let's use readdir() instead.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/ceph_mon.cc