Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 347599
b: refs/heads/master
c: 4d1d053
h: refs/heads/master
i:
  347597: 2fde4a3
  347595: 78231a9
  347591: 3609def
  347583: 8a63ad4
v: v3
  • Loading branch information
Yan, Zheng authored and Sage Weil committed Nov 4, 2012
1 parent a033c73 commit 1297d16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9e15b77d9af3b63dfbff14e695336dfca88c22b2
refs/heads/master: 4d1d0534f53863108fdea496288cb3310f88118d
2 changes: 2 additions & 0 deletions trunk/fs/ceph/caps.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,10 @@ static struct ceph_cap *get_cap(struct ceph_mds_client *mdsc,
if (!ctx) {
cap = kmem_cache_alloc(ceph_cap_cachep, GFP_NOFS);
if (cap) {
spin_lock(&mdsc->caps_list_lock);
mdsc->caps_use_count++;
mdsc->caps_total_count++;
spin_unlock(&mdsc->caps_list_lock);
}
return cap;
}
Expand Down

0 comments on commit 1297d16

Please sign in to comment.