summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2021-01-06 18:19:05 -0500
committerMike Snitzer <snitzer@redhat.com>2021-01-08 15:56:35 -0500
commit0378c625afe80eb3f212adae42cc33c9f6f31abf (patch)
tree49b93c8b1a3b25e541dab9adffb6b450e301d88b /include
parentfcc42338375a1e67b8568dbb558f8b784d0f3b01 (diff)
downloadlinux-stable-0378c625afe80eb3f212adae42cc33c9f6f31abf.tar.gz
linux-stable-0378c625afe80eb3f212adae42cc33c9f6f31abf.tar.bz2
linux-stable-0378c625afe80eb3f212adae42cc33c9f6f31abf.zip
dm: eliminate potential source of excessive kernel log noise
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions