Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9aa01593 authored by Andreas Gruenbacher's avatar Andreas Gruenbacher Committed by Bob Peterson
Browse files

gfs2: Remove unused gfs2_write_jdata_pagevec parameter



As a follow-up to commit d2bc5b3c, remove the end parameter which is
now unused.

Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
parent 8b0d7f56
Loading
Loading
Loading
Loading
+2 −3
Original line number Original line Diff line number Diff line
@@ -255,7 +255,6 @@ static int gfs2_writepages(struct address_space *mapping,
 * @wbc: The writeback control
 * @wbc: The writeback control
 * @pvec: The vector of pages
 * @pvec: The vector of pages
 * @nr_pages: The number of pages to write
 * @nr_pages: The number of pages to write
 * @end: End position
 * @done_index: Page index
 * @done_index: Page index
 *
 *
 * Returns: non-zero if loop should terminate, zero otherwise
 * Returns: non-zero if loop should terminate, zero otherwise
@@ -264,7 +263,7 @@ static int gfs2_writepages(struct address_space *mapping,
static int gfs2_write_jdata_pagevec(struct address_space *mapping,
static int gfs2_write_jdata_pagevec(struct address_space *mapping,
				    struct writeback_control *wbc,
				    struct writeback_control *wbc,
				    struct pagevec *pvec,
				    struct pagevec *pvec,
				    int nr_pages, pgoff_t end,
				    int nr_pages,
				    pgoff_t *done_index)
				    pgoff_t *done_index)
{
{
	struct inode *inode = mapping->host;
	struct inode *inode = mapping->host;
@@ -402,7 +401,7 @@ static int gfs2_write_cache_jdata(struct address_space *mapping,
		if (nr_pages == 0)
		if (nr_pages == 0)
			break;
			break;


		ret = gfs2_write_jdata_pagevec(mapping, wbc, &pvec, nr_pages, end, &done_index);
		ret = gfs2_write_jdata_pagevec(mapping, wbc, &pvec, nr_pages, &done_index);
		if (ret)
		if (ret)
			done = 1;
			done = 1;
		if (ret > 0)
		if (ret > 0)