summaryrefslogtreecommitdiffstats
path: root/drivers/firewire/core-transaction.c
diff options
context:
space:
mode:
authorSage Weil2010-11-08 18:23:12 +0100
committerSage Weil2010-11-08 18:23:12 +0100
commit8bd59e0188c04f6540f00e13f633f22e4804ce06 (patch)
tree7f311b4fc75dea4fcd71aedbfa85ce7b6cfd712d /drivers/firewire/core-transaction.c
parentceph: fix uid/gid on resent mds requests (diff)
downloadkernel-qcow2-linux-8bd59e0188c04f6540f00e13f633f22e4804ce06.tar.gz
kernel-qcow2-linux-8bd59e0188c04f6540f00e13f633f22e4804ce06.tar.xz
kernel-qcow2-linux-8bd59e0188c04f6540f00e13f633f22e4804ce06.zip
ceph: fix version check on racing inode updates
We may get updates on the same inode from multiple MDSs; generally we only pay attention if the update is newer than what we already have. The exception is when an MDS sense unstable information, in which case we always update. The old > check got this wrong when our version was odd (e.g. 3) and the reply version was even (e.g. 2): the older stale (v2) info would be applied. Fixed and clarified the comment. Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'drivers/firewire/core-transaction.c')
0 files changed, 0 insertions, 0 deletions