aboutsummaryrefslogtreecommitdiffstats
path: root/net/ceph/osd_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ceph/osd_client.c')
-rw-r--r--net/ceph/osd_client.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/net/ceph/osd_client.c b/net/ceph/osd_client.c
index ac186b7c9986..d4e3812bcebc 100644
--- a/net/ceph/osd_client.c
+++ b/net/ceph/osd_client.c
@@ -1866,8 +1866,7 @@ int ceph_osdc_writepages(struct ceph_osd_client *osdc, struct ceph_vino vino,
1866 u64 off, u64 len, 1866 u64 off, u64 len,
1867 u32 truncate_seq, u64 truncate_size, 1867 u32 truncate_seq, u64 truncate_size,
1868 struct timespec *mtime, 1868 struct timespec *mtime,
1869 struct page **pages, int num_pages, 1869 struct page **pages, int num_pages)
1870 int flags)
1871{ 1870{
1872 struct ceph_osd_request *req; 1871 struct ceph_osd_request *req;
1873 int rc = 0; 1872 int rc = 0;
@@ -1876,8 +1875,7 @@ int ceph_osdc_writepages(struct ceph_osd_client *osdc, struct ceph_vino vino,
1876 BUG_ON(vino.snap != CEPH_NOSNAP); 1875 BUG_ON(vino.snap != CEPH_NOSNAP);
1877 req = ceph_osdc_new_request(osdc, layout, vino, off, &len, 1876 req = ceph_osdc_new_request(osdc, layout, vino, off, &len,
1878 CEPH_OSD_OP_WRITE, 1877 CEPH_OSD_OP_WRITE,
1879 flags | CEPH_OSD_FLAG_ONDISK | 1878 CEPH_OSD_FLAG_ONDISK | CEPH_OSD_FLAG_WRITE,
1880 CEPH_OSD_FLAG_WRITE,
1881 snapc, 0, 1879 snapc, 0,
1882 truncate_seq, truncate_size, mtime, 1880 truncate_seq, truncate_size, mtime,
1883 true, 1, page_align); 1881 true, 1, page_align);