projects
/
platform
/
kernel
/
linux-exynos.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
|
history
diff --git
a/fs/ceph/addr.c
b/fs/ceph/addr.c
index
4125937
..
4b42c2b
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;