mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
sg: fix read() error reporting
commit 3b524a683a upstream.
Fix SCSI generic read() incorrectly returning success after detecting an
error.
Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
This commit is contained in:
parent
0a79bd3a2a
commit
2b8a5d91fc
1 changed files with 3 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue