diff options
| author | Junxiao Bi <junxiao.bi@oracle.com> | 2014-12-24 01:48:12 -0500 |
|---|---|---|
| committer | Mike Snitzer <snitzer@redhat.com> | 2015-02-09 13:06:48 -0500 |
| commit | 88e2f901e78232ea42b4e462cf7a9b14d61fb79a (patch) | |
| tree | 87a499ad75b799f9fd967182c054db0cba0ddfcb | |
| parent | cf35248768b08851a26c16059ebca49dc4ad314f (diff) | |
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 <junxiao.bi@oracle.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
| -rw-r--r-- | drivers/md/dm-ioctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) | |||
| 639 | 639 | ||
| 640 | /* | 640 | /* |
| 641 | * On successful return, the caller must not attempt to acquire | 641 | * On successful return, the caller must not attempt to acquire |
| 642 | * _hash_lock without first calling dm_table_put, because dm_table_destroy | 642 | * _hash_lock without first calling dm_put_live_table, because dm_table_destroy |
| 643 | * waits for this dm_table_put and could be called under this lock. | 643 | * waits for this dm_put_live_table and could be called under this lock. |
| 644 | */ | 644 | */ |
| 645 | static struct dm_table *dm_get_inactive_table(struct mapped_device *md, int *srcu_idx) | 645 | static struct dm_table *dm_get_inactive_table(struct mapped_device *md, int *srcu_idx) |
| 646 | { | 646 | { |
