mirror of
https://github.com/ceph/ceph
synced 2024-12-17 00:46:05 +00:00
Merge pull request #15258 from big-henry/wip-mds-misc-fix
mds: fix client ID truncation
This commit is contained in:
commit
2f9ee0badd
@ -3080,7 +3080,7 @@ int CInode::encode_inodestat(bufferlist& bl, Session *session,
|
||||
unsigned max_bytes,
|
||||
int getattr_caps)
|
||||
{
|
||||
int client = session->info.inst.name.num();
|
||||
client_t client = session->info.inst.name.num();
|
||||
assert(snapid);
|
||||
assert(session->connection);
|
||||
|
||||
|
@ -1853,7 +1853,7 @@ Capability* Locker::issue_new_caps(CInode *in,
|
||||
|
||||
// my needs
|
||||
assert(session->info.inst.name.is_client());
|
||||
int my_client = session->info.inst.name.num();
|
||||
client_t my_client = session->info.inst.name.num();
|
||||
int my_want = ceph_caps_for_mode(mode);
|
||||
|
||||
// register a capability
|
||||
|
Loading…
Reference in New Issue
Block a user