]> Git Repo - linux.git/commit - drivers/md/dm-ioctl.c
[PATCH] dm: suspend: parameter change
authorKiyoshi Ueda <[email protected]>
Fri, 8 Dec 2006 10:41:04 +0000 (02:41 -0800)
committerLinus Torvalds <[email protected]>
Fri, 8 Dec 2006 16:29:09 +0000 (08:29 -0800)
commita3d77d35be6f416a250c528c3ed5c70013a915e8
tree6aaecdf78b4da52f8a3b3ded2bd320812e3db6df
parent74859364633963cb660c4fa518adca9ab1ca4229
[PATCH] dm: suspend: parameter change

Change the interface of dm_suspend() so that we can pass several options
without increasing the number of parameters.  The existing 'do_lockfs' integer
parameter is replaced by a flag DM_SUSPEND_LOCKFS_FLAG.

There is no functional change to the code.

Test results:
I have tested 'dmsetup suspend' command with/without the '--nolockfs'
option and confirmed the do_lockfs value is correctly set.

Signed-off-by: Kiyoshi Ueda <[email protected]>
Signed-off-by: Jun'ichi Nomura <[email protected]>
Signed-off-by: Alasdair G Kergon <[email protected]>
Cc: [email protected]
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/md/dm-ioctl.c
drivers/md/dm.c
drivers/md/dm.h
include/linux/device-mapper.h
This page took 0.054124 seconds and 4 git commands to generate.