ceph: voluntarily drop Lx cap for link/rename requests
authorYan, Zheng <zyan@redhat.com>
Thu, 23 Nov 2017 09:59:13 +0000 (17:59 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 29 Jan 2018 17:36:04 +0000 (18:36 +0100)
commitd19a0b540182a742338d88f6501e4f29a30d7541
treef0f5357777c4bc0bdab32701e891000522a610c6
parent222b7f90ba3825728fd27e9105aeee7af9576819
ceph: voluntarily drop Lx cap for link/rename requests

MDS need to xlock inode's linklock when handling link/rename requests.
Voluntarily dropping CEPH_CAP_AUTH_EXCL avoids a cap revoke message.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/dir.c