mds: remove CEPH_LOCK_IFLOCKL from cinode_lock_info

Currently we don't support dirty CEPH_CAP_FLOCK_EXCL

Signed-off-by: Yan, Zheng <zyan@redhat.com>
This commit is contained in:
Yan, Zheng 2016-06-24 17:09:34 +08:00
parent 1b7d198f63
commit cfc3ec17b6

View File

@ -92,9 +92,8 @@ struct cinode_lock_info_t cinode_lock_info[] = {
{ CEPH_LOCK_IAUTH, CEPH_CAP_AUTH_EXCL },
{ CEPH_LOCK_ILINK, CEPH_CAP_LINK_EXCL },
{ CEPH_LOCK_IXATTR, CEPH_CAP_XATTR_EXCL },
{ CEPH_LOCK_IFLOCK, CEPH_CAP_FLOCK_EXCL }
};
int num_cinode_locks = 5;
int num_cinode_locks = sizeof(cinode_lock_info) / sizeof(cinode_lock_info[0]);