[dm-devel] [PATCH dm] dm thin: __blkdev_issue_discard_async() can be static

kbuild test robot fengguang.wu at intel.com
Fri May 22 21:37:23 UTC 2015


Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
---
 dm-thin.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/md/dm-thin.c b/drivers/md/dm-thin.c
index c2634a5..ef47420 100644
--- a/drivers/md/dm-thin.c
+++ b/drivers/md/dm-thin.c
@@ -335,7 +335,7 @@ struct thin_c {
  *    that is being kept local to DM thinp until the block changes to allow
  *    late bio splitting land upstream.
  */
-int __blkdev_issue_discard_async(struct block_device *bdev, sector_t sector,
+static int __blkdev_issue_discard_async(struct block_device *bdev, sector_t sector,
 				 sector_t nr_sects, gfp_t gfp_mask, unsigned long flags,
 				 struct bio *parent_bio)
 {




More information about the dm-devel mailing list