lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Thu, 12 Nov 2015 18:05:31 +0100
From:	Gioh Kim <gi-oh.kim@...fitbricks.com>
To:	Jens Axboe <axboe@...com>, Dan Williams <dan.j.williams@...el.com>,
	Tejun Heo <tj@...nel.org>
Cc:	linux-kernel@...r.kernel.org, Gioh Kim <gi-oh.kim@...fitbricks.com>
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 <gi-oh.kim@...fitbricks.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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ