Skip to contentSkip to conversation

dm: fix wrong comment

PATCH New Junxiao Bi 1 participant 1 message Dec 24, 2014 Device mapper

lore
Share & tools
lore

Junxiao Bi

author
#0 lore raw

PATCH 1/1 dm: fix wrong comment

dm_table_put() had been replaced by dm_put_live_table().

---
 drivers/md/dm-ioctl.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/md/dm-ioctl.c +2 -2
index 73f791b..c8a18e4 100644
@@ -639,8 +639,8 @@ static int check_name(const char *name)
 
 /*
  * On successful return, the caller must not attempt to acquire
- * _hash_lock without first calling dm_table_put, because dm_table_destroy
- * waits for this dm_table_put and could be called under this lock.
+ * _hash_lock without first calling dm_put_live_table, because dm_table_destroy
+ * waits for this dm_put_live_table and could be called under this lock.
  */
 static struct dm_table *dm_get_inactive_table(struct mapped_device *md, int *srcu_idx)
 {
Signature · 1 line
1.7.9.5