]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit96cb93e059a18069bd28ad26fe09d4b2282dd59c
tree2957ff4c5c853464fdd174a431a55a66924d6f79
parent8835fb721b4b799e5bac7e24ff7f240a6248d185
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