aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorFinn Thain <[email protected]>2018-04-11 20:50:14 -0400
committerJens Axboe <[email protected]>2018-04-16 21:49:35 -0600
commit8e2ab5a4efaac77fb93e5b5b109d0b3976fdd3a0 (patch)
treeb3efe23492206f9afab06a54a6c75ab562ca1d7f /lib/test_overflow.c
parentc1d6207cc0eef2a7f8551f9c7420d8776268f6e1 (diff)
block/swim: Don't log an error message for an invalid ioctl
The 'eject' shell command may send various different ioctl commands. This leads to error messages on the console even though the FDEJECT ioctl succeeds. ~# eject floppy SWIM floppy_ioctl: unknown cmd 21257 SWIM floppy_ioctl: unknown cmd 1 Don't log an error message for an invalid ioctl, just do as the swim3 driver does and return -ENOTTY. Cc: Laurent Vivier <[email protected]> Cc: Jens Axboe <[email protected]> Cc: [email protected] # v4.14+ Tested-by: Stan Johnson <[email protected]> Signed-off-by: Finn Thain <[email protected]> Acked-by: Laurent Vivier <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions