ceph: don't reset s_cap_ttl to zero
authorAlex Elder <elder@dreamhost.com>
Fri, 13 Jan 2012 01:48:11 +0000 (17:48 -0800)
committerAlex Elder <elder@dreamhost.com>
Thu, 22 Mar 2012 15:47:45 +0000 (10:47 -0500)
commit1ce208a6ce030ea6ccd4b13c8cec0a84c0c7a1e9
tree2957ff4c5c853464fdd174a431a55a66924d6f79
parent182fac2689b769a96e7fc9defcd560c5cca92b1e
ceph: don't reset s_cap_ttl to zero

Avoid the need to check for a special zero s_cap_ttl value by just
using (jiffies - 1) as the value assigned to indicate "sometime in
the past."

Signed-off-by: Alex Elder <elder@dreamhost.com>
Reviewed-by: Sage Weil <sage@newdream.net>
fs/ceph/mds_client.c