mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 20:54:10 +08:00
ceph: make change_auth_cap_ses a global symbol
Signed-off-by: Xiubo Li <xiubli@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
This commit is contained in:
parent
b53aca4b46
commit
e19feff963
@ -602,8 +602,8 @@ static void __check_cap_issue(struct ceph_inode_info *ci, struct ceph_cap *cap,
|
||||
* @ci: inode to be moved
|
||||
* @session: new auth caps session
|
||||
*/
|
||||
static void change_auth_cap_ses(struct ceph_inode_info *ci,
|
||||
struct ceph_mds_session *session)
|
||||
void change_auth_cap_ses(struct ceph_inode_info *ci,
|
||||
struct ceph_mds_session *session)
|
||||
{
|
||||
lockdep_assert_held(&ci->i_ceph_lock);
|
||||
|
||||
|
@ -767,6 +767,8 @@ extern void ceph_unreserve_caps(struct ceph_mds_client *mdsc,
|
||||
extern void ceph_reservation_status(struct ceph_fs_client *client,
|
||||
int *total, int *avail, int *used,
|
||||
int *reserved, int *min);
|
||||
extern void change_auth_cap_ses(struct ceph_inode_info *ci,
|
||||
struct ceph_mds_session *session);
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user