ceph: fix session check on mds reply
authorSage Weil <sage@newdream.net>
Sun, 21 Mar 2010 03:50:58 +0000 (20:50 -0700)
committerSage Weil <sage@newdream.net>
Tue, 23 Mar 2010 14:47:05 +0000 (07:47 -0700)
commitd96d60498ff748c5a88c72ec5d1cc4ba9a583e7e
treed17c11fbfe5e7c7dbe6cec1729f22548a1e49dd2
parent4736b009b880b7c19bea36327a71032a6dbee402
ceph: fix session check on mds reply

Fix a broken check that a reply came back from the same MDS we sent the
request to.  I don't think a case that actually triggers this would ever
come up in practice, but it's clearly wrong and easy to fix.

Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/mds_client.c