2015-11-12 17:05:50

by Gi-Oh Kim

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

Remove comments about disk_stat_* functions which are deprecated.

Signed-off-by: Gioh Kim <[email protected]>
---
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