]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
libcephfs: vet the CEPH_REQ_* flags in the C wrappers 12106/head
authorJeff Layton <jlayton@redhat.com>
Fri, 18 Nov 2016 18:59:49 +0000 (13:59 -0500)
committerJeff Layton <jlayton@redhat.com>
Fri, 18 Nov 2016 18:59:49 +0000 (13:59 -0500)
commit28988655b0ff4ab68251f28e58719ba82e8d1035
tree0169ed2ca307872f79b94a0eabe3e63ddb7e2f15
parenteb518d7577200be8d1a49e55d3373b12c9d6d52e
libcephfs: vet the CEPH_REQ_* flags in the C wrappers

Ensure that we can add new flags in the future by not allowing anyone
to set flags that we don't currently recognize.

Fixes: http://tracker.ceph.com/issues/17911
Signed-off-by: Jeff Layton <jlayton@redhat.com>
src/include/cephfs/ceph_statx.h
src/libcephfs.cc