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/file.c b/fs/ceph/file.c index 3b6b522..777eb21 100644 --- a/fs/ceph/file.c +++ b/fs/ceph/file.c
@@ -614,7 +614,7 @@ break; } - osd_req_op_init(req, 1, CEPH_OSD_OP_STARTSYNC); + osd_req_op_init(req, 1, CEPH_OSD_OP_STARTSYNC, 0); n = iov_iter_get_pages_alloc(from, &pages, len, &start); if (unlikely(n < 0)) {