提交 7ff899da 编写于 作者: S Sage Weil

ceph: fix lockless caps check

The __ variant requires caller to hold i_lock.
Signed-off-by: NSage Weil <sage@newdream.net>
上级 ea1409f9
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册