]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: fix CEPH_STAT_RSTAT definition
authorYan, Zheng <zyan@redhat.com>
Wed, 25 Apr 2018 04:17:22 +0000 (12:17 +0800)
committerYan, Zheng <zyan@redhat.com>
Wed, 25 Apr 2018 04:20:04 +0000 (12:20 +0800)
commitca6c8a7a1956691837948c38ff7c5b7c45f2a051
tree6eb56d0759e3aa68f53fc173bc9718ff74d9caf2
parent27e91a99f59b055ba32fd240a7f9ea1c014991fc
mds: fix CEPH_STAT_RSTAT definition

(CEPH_CAP_GWREXTEND << 16) is (1<<22), which causes gaps in caps bits.
CEPH_CAP_FILE_WREXTEND is an unused bit, reuse it for CEPH_STAT_RSTAT.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/include/ceph_fs.h