dm ioctl: introduce ioctl_flags
authorMikulas Patocka <[email protected]>
Fri, 1 Mar 2013 22:45:48 +0000 (22:45 +0000)
committerAlasdair G Kergon <[email protected]>
Fri, 1 Mar 2013 22:45:48 +0000 (22:45 +0000)
commite2914cc26bbca67fd30fff02c6777e8477fc8a6a
treeb772ab680661d3bbedd35cbd48e4f19c5ffad854
parent5f01520415e82f8e354807484ef842335070a3bd
dm ioctl: introduce ioctl_flags

This patch introduces flags for each ioctl function.

So far, one flag is defined, IOCTL_FLAGS_NO_PARAMS.  It is set if the
function processing the ioctl doesn't take or produce any parameters in
the section of the data buffer that has a variable size.

Signed-off-by: Mikulas Patocka <[email protected]>
Signed-off-by: Alasdair G Kergon <[email protected]>
drivers/md/dm-ioctl.c