ceph: fix reconnect encoding for old servers
authorSage Weil <sage@newdream.net>
Tue, 7 Sep 2010 22:59:27 +0000 (15:59 -0700)
committerSage Weil <sage@newdream.net>
Sat, 11 Sep 2010 17:52:47 +0000 (10:52 -0700)
commit3612abbd5df6baa9ca3e0777c6c8646e202d3f66
tree6c4512ac7acf0ac12683ab330c600eef69346fe7
parent3d4401d9d0aef5c40706350685ddea3df6708496
ceph: fix reconnect encoding for old servers

Fix the reconnect encoding to encode the cap record when the MDS does not
have the FLOCK capability (i.e., pre v0.22).

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