mirror of
https://github.com/ceph/ceph
synced 2025-01-03 17:42:36 +00:00
mds: don't try to recover filelocks if the client didn't encode any
This commit is contained in:
parent
fd43724449
commit
f5487fd11b
@ -668,6 +668,7 @@ void Server::reconnect_tick()
|
||||
|
||||
void Server::recover_filelocks(CInode *in, bufferlist locks, int64_t client)
|
||||
{
|
||||
if (!locks.length()) return;
|
||||
int numlocks;
|
||||
ceph_filelock lock;
|
||||
bufferlist::iterator p = locks.begin();
|
||||
|
Loading…
Reference in New Issue
Block a user