]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
ceph: fix lease revocation when seq doesn't match
authorSage Weil <sage@newdream.net>
Fri, 4 Jun 2010 17:05:40 +0000 (10:05 -0700)
committerSage Weil <sage@newdream.net>
Fri, 4 Jun 2010 17:05:40 +0000 (10:05 -0700)
commit1e5ea23df11c7c90c7e7268dd3a6603bfa5aadf7
treed7a09a153c3b00add2eee343d8584bc90b1cb848
parent558d3499bd059d4534b1f2b69dc1c562acc733fe
ceph: fix lease revocation when seq doesn't match

If the client revokes a lease with a higher seq than what we have, keep
the mds's seq, so that it honors our release.  Otherwise, we can hang
indefinitely.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/mds_client.c