]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: fix O_PATH on older Linux systems 3623/head
authorGreg Farnum <gfarnum@redhat.com>
Wed, 4 Feb 2015 23:03:21 +0000 (15:03 -0800)
committerGreg Farnum <gfarnum@redhat.com>
Wed, 4 Feb 2015 23:03:21 +0000 (15:03 -0800)
commit70ae314d8709a97468b99448456afed0f2ef589a
treeb114426fdbccefd4828dc6cd3c75fe9d8f989e65
parent71c6d98979ac26fb37b94172316cb65c475bc6e4
client: fix O_PATH on older Linux systems

O_PATH was introduced in 2.6.39, but many Linux systems in use
today still have older kernels than that. Check for them.

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
src/client/Client.cc
src/test/libcephfs/test.cc