lkml.org 
[lkml]   [2015]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] include/linux/genhd.h: remove comments for deprecated function
Date
Remove comments about disk_stat_* functions which are deprecated.

Signed-off-by: Gioh Kim <gi-oh.kim@profitbricks.com>
---
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


\
 
 \ /
  Last update: 2015-11-12 18:41    [W:0.033 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site