]> git.baikalelectronics.ru Git - kernel.git/commit
dm ioctl: introduce ioctl_flags
authorMikulas Patocka <mpatocka@redhat.com>
Fri, 1 Mar 2013 22:45:48 +0000 (22:45 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 1 Mar 2013 22:45:48 +0000 (22:45 +0000)
commit7c231bcba5d583369cec9255b029dc1c1dc36b1f
treeb772ab680661d3bbedd35cbd48e4f19c5ffad854
parentce669aeee617d52597e25ee27845df8d211d215d
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 <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-ioctl.c