Mike Snitzer a4cc93ec99 dm: eliminate potential source of excessive kernel log noise
commit 0378c625afe80eb3f212adae42cc33c9f6f31abf upstream.

There wasn't ever a real need to log an error in the kernel log for
ioctls issued with insufficient permissions. Simply return an error
and if an admin/user is sufficiently motivated they can enable DM's
dynamic debugging to see an explanation for why the ioctls were
disallowed.

Reported-by: Nir Soffer <nsoffer@redhat.com>
Fixes: e980f62353c6 ("dm: don't allow ioctls to targets that don't map to whole devices")
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-01-19 18:22:38 +01:00
..
2021-01-17 14:04:22 +01:00
2020-09-09 19:04:23 +02:00
2021-01-19 18:22:36 +01:00
2021-01-17 14:04:22 +01:00
2021-01-09 13:43:47 +01:00
2020-12-30 11:26:04 +01:00
2021-01-06 14:44:59 +01:00