public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] block/blk-lib.c: make __blkdev_issue_zeroout static
@ 2014-05-26 20:19 Fabian Frederick
  2014-05-26 23:38 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Fabian Frederick @ 2014-05-26 20:19 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, Jens Axboe

__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;
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] block/blk-lib.c: make __blkdev_issue_zeroout static
  2014-05-26 20:19 [PATCH 1/1] block/blk-lib.c: make __blkdev_issue_zeroout static Fabian Frederick
@ 2014-05-26 23:38 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2014-05-26 23:38 UTC (permalink / raw)
  To: Fabian Frederick, linux-kernel; +Cc: akpm

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-26 23:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-26 20:19 [PATCH 1/1] block/blk-lib.c: make __blkdev_issue_zeroout static Fabian Frederick
2014-05-26 23:38 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox