[PATCH] include/linux/genhd.h: remove comments for deprecated function

From: Gioh Kim
Date: Thu Nov 12 2015 - 12:05:54 EST


Remove comments about disk_stat_* functions which are deprecated.

Signed-off-by: Gioh Kim <gi-oh.kim@xxxxxxxxxxxxxxxx>
---
include/linux/genhd.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/linux/genhd.h b/include/linux/genhd.h
index 847cc1d..f34a767 100644
--- a/include/linux/genhd.h
+++ b/include/linux/genhd.h
@@ -305,11 +305,11 @@ extern struct hd_struct *disk_map_sector_rcu(struct gendisk *disk,
sector_t sector);

/*
- * Macros to operate on percpu disk statistics:
+ * Macros to operate on percpu partition statistics:
*
- * {disk|part|all}_stat_{add|sub|inc|dec}() modify the stat counters
- * and should be called between disk_stat_lock() and
- * disk_stat_unlock().
+ * part_stat_{add|sub|inc|dec}() modify the stat counters
+ * and should be called between part_stat_lock() and
+ * part_stat_unlock().
*
* part_stat_read() can be called at any time.
*
--
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/