diff options
author | Eric Sandeen <sandeen@redhat.com> | 2014-04-14 05:01:20 -0400 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-04-14 05:01:20 -0400 |
commit | 87937bf8cae495d4eafdae226e0726c25c3ff9f9 (patch) | |
tree | 8175c32c8d79f99d8915fcd5aad874692cda9a7e /fs/xfs/xfs_buf.c | |
parent | 34dcefd717dea161182c18e2622cd9bed4bb4835 (diff) |
xfs: remove unused flags arg from _xfs_buf_get_pages()
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_buf.c')
-rw-r--r-- | fs/xfs/xfs_buf.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c index 9ea2c88e2288..9be837d5924f 100644 --- a/fs/xfs/xfs_buf.c +++ b/fs/xfs/xfs_buf.c | |||
@@ -216,8 +216,7 @@ _xfs_buf_alloc( | |||
216 | STATIC int | 216 | STATIC int |
217 | _xfs_buf_get_pages( | 217 | _xfs_buf_get_pages( |
218 | xfs_buf_t *bp, | 218 | xfs_buf_t *bp, |
219 | int page_count, | 219 | int page_count) |
220 | xfs_buf_flags_t flags) | ||
221 | { | 220 | { |
222 | /* Make sure that we have a page list */ | 221 | /* Make sure that we have a page list */ |
223 | if (bp->b_pages == NULL) { | 222 | if (bp->b_pages == NULL) { |
@@ -330,7 +329,7 @@ use_alloc_page: | |||
330 | end = (BBTOB(bp->b_maps[0].bm_bn + bp->b_length) + PAGE_SIZE - 1) | 329 | end = (BBTOB(bp->b_maps[0].bm_bn + bp->b_length) + PAGE_SIZE - 1) |
331 | >> PAGE_SHIFT; | 330 | >> PAGE_SHIFT; |
332 | page_count = end - start; | 331 | page_count = end - start; |
333 | error = _xfs_buf_get_pages(bp, page_count, flags); | 332 | error = _xfs_buf_get_pages(bp, page_count); |
334 | if (unlikely(error)) | 333 | if (unlikely(error)) |
335 | return error; | 334 | return error; |
336 | 335 | ||
@@ -778,7 +777,7 @@ xfs_buf_associate_memory( | |||
778 | bp->b_pages = NULL; | 777 | bp->b_pages = NULL; |
779 | bp->b_addr = mem; | 778 | bp->b_addr = mem; |
780 | 779 | ||
781 | rval = _xfs_buf_get_pages(bp, page_count, 0); | 780 | rval = _xfs_buf_get_pages(bp, page_count); |
782 | if (rval) | 781 | if (rval) |
783 | return rval; | 782 | return rval; |
784 | 783 | ||
@@ -811,7 +810,7 @@ xfs_buf_get_uncached( | |||
811 | goto fail; | 810 | goto fail; |
812 | 811 | ||
813 | page_count = PAGE_ALIGN(numblks << BBSHIFT) >> PAGE_SHIFT; | 812 | page_count = PAGE_ALIGN(numblks << BBSHIFT) >> PAGE_SHIFT; |
814 | error = _xfs_buf_get_pages(bp, page_count, 0); | 813 | error = _xfs_buf_get_pages(bp, page_count); |
815 | if (error) | 814 | if (error) |
816 | goto fail_free_buf; | 815 | goto fail_free_buf; |
817 | 816 | ||