Skip to contentSkip to conversation

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

PATCH New Gioh Kim 1 participant 1 message Nov 12, 2015

lore
Share & tools
lore

Gioh Kim

author
#0 lore raw

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

Remove comments about disk_stat_* functions which are deprecated.

---
 include/linux/genhd.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
include/linux/genhd.h +4 -4
index 847cc1d..f34a767 100644
@@ -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.
  *
Signature · 1 line
2.5.0