projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea1409f
)
ceph: fix lockless caps check
author
Sage Weil
<sage@newdream.net>
Fri, 23 Apr 2010 17:25:33 +0000
(10:25 -0700)
committer
Sage Weil
<sage@newdream.net>
Mon, 3 May 2010 17:49:25 +0000
(10:49 -0700)
The __ variant requires caller to hold i_lock.
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/addr.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ceph/addr.c
b/fs/ceph/addr.c
index 412593703d1ec0519410ee6653bd8b55be5b0e2a..4b42c2bb603f167efb9c330e708e37146e93c986 100644
(file)
--- a/
fs/ceph/addr.c
+++ b/
fs/ceph/addr.c
@@
-509,7
+509,7
@@
static void writepages_finish(struct ceph_osd_request *req,
u64 bytes = 0;
struct ceph_client *client = ceph_inode_to_client(inode);
long writeback_stat;
- unsigned issued =
__ceph_caps_issued(ci, NULL
);
+ unsigned issued =
ceph_caps_issued(ci
);
/* parse reply */
replyhead = msg->front.iov_base;