commit | 144cba1493fdd6e3e1980e439a31df877831ebcd | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Mon Apr 27 11:09:54 2015 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Thu Jun 25 11:49:27 2015 +0300 |
tree | 3fef5404a6e0186cef9de8ce2df5a0077202a2a4 | |
parent | 66ba609f7b96096116ca7bbc21ec6922ea41a992 [diff] [blame] |
libceph: allow setting osd_req_op's flags Signed-off-by: Yan, Zheng <zyan@redhat.com> Reviewed-by: Alex Elder <elder@linaro.org>
diff --git a/fs/ceph/addr.c b/fs/ceph/addr.c index e162bcd..feeaf3b 100644 --- a/fs/ceph/addr.c +++ b/fs/ceph/addr.c
@@ -884,7 +884,8 @@ } if (do_sync) - osd_req_op_init(req, 1, CEPH_OSD_OP_STARTSYNC); + osd_req_op_init(req, 1, + CEPH_OSD_OP_STARTSYNC, 0); req->r_callback = writepages_finish; req->r_inode = inode;