ceph: kill ceph_osdc_writepages() "flags" parameter
There is only one caller of ceph_osdc_writepages(), and it always passes 0 as its "flags" argument. Get rid of that argument and replace its use in ceph_osdc_writepages() with 0. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
This commit is contained in:
@@ -492,8 +492,7 @@ static int writepage_nounlock(struct page *page, struct writeback_control *wbc)
|
||||
&ci->i_layout, snapc,
|
||||
page_off, len,
|
||||
ci->i_truncate_seq, ci->i_truncate_size,
|
||||
&inode->i_mtime,
|
||||
&page, 1, 0);
|
||||
&inode->i_mtime, &page, 1);
|
||||
if (err < 0) {
|
||||
dout("writepage setting page/mapping error %d %p\n", err, page);
|
||||
SetPageError(page);
|
||||
|
Reference in New Issue
Block a user