From: Junxiao Bi Date: Wed, 24 Dec 2014 06:48:12 +0000 (+0800) Subject: dm ioctl: fix stale comment above dm_get_inactive_table() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=88e2f901e78232ea42b4e462cf7a9b14d61fb79a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git dm ioctl: fix stale comment above dm_get_inactive_table() dm_table_put() was replaced by dm_put_live_table(). Signed-off-by: Junxiao Bi Signed-off-by: Mike Snitzer --- diff --git a/drivers/md/dm-ioctl.c b/drivers/md/dm-ioctl.c index 73f791bb9ea4..c8a18e4ee9dc 100644 --- a/drivers/md/dm-ioctl.c +++ b/drivers/md/dm-ioctl.c @@ -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) {