]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
include/compat: revert to basic locking if a OS does not have F_OFD_SETLK
authorWillem Jan Withagen <wjw@digiware.nl>
Wed, 14 Apr 2021 20:33:36 +0000 (22:33 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Sun, 9 May 2021 10:36:36 +0000 (12:36 +0200)
commit44117ce5bdb8a1f5b3bbcb6a4a9a0810a93fe599
tree9c6b50bef5556d3f61f0bec290cdf87358eb6c53
parent2a30142d8a8c4cc0c43557a6621d2c45cb0f5bb8
include/compat: revert to basic locking if a OS does not have F_OFD_SETLK

FreeBSD does not have the F_OFD_* versions for fcntl().
So instead F_SETLK is used instead of F_OFD_SETLK

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/include/compat.h