ceph: Behave better when handling file lock replies.
authorHerb Shiu <herb_shiu@tcloudcomputing.com>
Tue, 23 Nov 2010 21:58:29 +0000 (13:58 -0800)
committerSage Weil <sage@newdream.net>
Wed, 1 Dec 2010 22:22:34 +0000 (14:22 -0800)
commita5b10629edfa521071ccdb3b1e0e7fb350a044db
treec852f7a214c30fe1923579ec031b37fc8f326523
parent637ae8d547390df75bad42a7e9cb65e625119767
ceph: Behave better when handling file lock replies.

Fill in the local lock with response data if appropriate,
and don't call posix_lock_file when reading locks.

Signed-off-by: Herb Shiu <herb_shiu@tcloudcomputing.com>
Acked-by: Greg Farnum <gregf@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/locks.c