mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
ceph: use ceph_seq_cmp() to compare migrate_seq
Signed-off-by: Yan, Zheng <[email protected]>
This commit is contained in:
parent
4fe59789ad
commit
d1b87809fb
1 changed files with 1 additions and 1 deletions
|
|
@ -628,7 +628,7 @@ retry:
|
|||
cap->cap_id = cap_id;
|
||||
cap->issued = issued;
|
||||
cap->implemented |= issued;
|
||||
if (mseq > cap->mseq)
|
||||
if (ceph_seq_cmp(mseq, cap->mseq) > 0)
|
||||
cap->mds_wanted = wanted;
|
||||
else
|
||||
cap->mds_wanted |= wanted;
|
||||
|
|
|
|||
Loading…
Reference in a new issue