Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Fixes: e980f62 ("dm: don't allow ioctls to targets that don't map to whole devices") Signed-off-by: Mike Snitzer <[email protected]>
- Loading branch information