diff options
author | Alasdair G Kergon <agk@redhat.com> | 2006-01-06 11:20:06 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 19:34:01 +0300 |
commit | aa8d7c2fbe619d8c0837296d2eaf4c14cebac198 (patch) | |
tree | 88b63e397b0c2dbdf2b8feb3920d565d352412d6 /drivers/md/dm.h | |
parent | e39e2e95eb8bd536b61654e8fda1516d0a6a3cd1 (diff) | |
download | linux-aa8d7c2fbe619d8c0837296d2eaf4c14cebac198.tar.xz |
[PATCH] device-mapper: make lock_fs optional
Devices only needs syncing when creating snapshots, so make this optional when
suspending a device.
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/md/dm.h')
-rw-r--r-- | drivers/md/dm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm.h b/drivers/md/dm.h index 95a0cfbe5b4d..4eaf075da217 100644 --- a/drivers/md/dm.h +++ b/drivers/md/dm.h @@ -69,7 +69,7 @@ void dm_put(struct mapped_device *md); /* * A device can still be used while suspended, but I/O is deferred. */ -int dm_suspend(struct mapped_device *md); +int dm_suspend(struct mapped_device *md, int with_lockfs); int dm_resume(struct mapped_device *md); /* |