diff options
author | Jonathan Brassow <jbrassow@redhat.com> | 2007-10-19 23:47:57 +0200 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2007-10-20 03:01:21 +0200 |
commit | 6b3df0d7a5e85ad2afd3eecc50e2dee59e876ae8 (patch) | |
tree | d20f30d0a40d1162a6cc135dca31403ae38198e5 /drivers/md/dm-log.c | |
parent | dm mpath: hp retry if not ready (diff) | |
download | linux-6b3df0d7a5e85ad2afd3eecc50e2dee59e876ae8.tar.xz linux-6b3df0d7a5e85ad2afd3eecc50e2dee59e876ae8.zip |
dm log: split suspend
There are now two phases to a suspend in device-mapper -
presuspend and postsuspend. This patch removes the
single 'suspend' in the logging API and replaces it with
'presuspend' and 'postsuspend' functions to align it
better with core device-mapper.
A subsequent patch will make use of 'presuspend'.
Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-log.c')
-rw-r--r-- | drivers/md/dm-log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-log.c b/drivers/md/dm-log.c index a66428d860fe..072ee4353eab 100644 --- a/drivers/md/dm-log.c +++ b/drivers/md/dm-log.c @@ -696,7 +696,7 @@ static struct dirty_log_type _disk_type = { .module = THIS_MODULE, .ctr = disk_ctr, .dtr = disk_dtr, - .suspend = disk_flush, + .postsuspend = disk_flush, .resume = disk_resume, .get_region_size = core_get_region_size, .is_clean = core_is_clean, |