diff options
author | Tony Lindgren <tony@atomide.com> | 2012-02-17 15:08:20 -0800 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-02-17 15:08:20 -0800 |
commit | b0ee4e394009f02a1d1b166091a19e8b842b4ea4 (patch) | |
tree | 75e6df725e5402ed6fe9d78f23bf5cf45cfdf9d9 /fs/ceph/dir.c | |
parent | abe763f2bccbc592d33a3a9c334acaefea022c0a (diff) | |
parent | 03e4fd6eb25e6b46536ecdb0d1b7d33d46b15480 (diff) |
Merge branch 'for_3.3/fixes/pm' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm into fixes
Diffstat (limited to 'fs/ceph/dir.c')
-rw-r--r-- | fs/ceph/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ceph/dir.c b/fs/ceph/dir.c index 618246bc219..3e8094be460 100644 --- a/fs/ceph/dir.c +++ b/fs/ceph/dir.c @@ -975,10 +975,10 @@ static int dentry_lease_is_valid(struct dentry *dentry) di = ceph_dentry(dentry); if (di->lease_session) { s = di->lease_session; - spin_lock(&s->s_cap_lock); + spin_lock(&s->s_gen_ttl_lock); gen = s->s_cap_gen; ttl = s->s_cap_ttl; - spin_unlock(&s->s_cap_lock); + spin_unlock(&s->s_gen_ttl_lock); if (di->lease_gen == gen && time_before(jiffies, dentry->d_time) && |