lkml.org 
[lkml]   [2014]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/1] block/blk-lib.c: make __blkdev_issue_zeroout static
On 2014-05-26 14:19, Fabian Frederick wrote:
> __blkdev_issue_zeroout is only used in blk-lib.c
>
> Cc: Jens Axboe <axboe@kernel.dk>
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Signed-off-by: Fabian Frederick <fabf@skynet.be>
> ---
> block/blk-lib.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/block/blk-lib.c b/block/blk-lib.c
> index 97a733c..8411be3 100644
> --- a/block/blk-lib.c
> +++ b/block/blk-lib.c
> @@ -226,8 +226,8 @@ EXPORT_SYMBOL(blkdev_issue_write_same);
> * Generate and issue number of bios with zerofiled pages.
> */
>
> -int __blkdev_issue_zeroout(struct block_device *bdev, sector_t sector,
> - sector_t nr_sects, gfp_t gfp_mask)
> +static int __blkdev_issue_zeroout(struct block_device *bdev, sector_t sector,
> + sector_t nr_sects, gfp_t gfp_mask)
> {
> int ret;
> struct bio *bio;
>

Thanks, applied.


--
Jens Axboe



\
 
 \ /
  Last update: 2014-05-27 02:01    [W:0.978 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site