Commit d25b48d4 authored by Committed by Greg Kroah-HartmanBrowse files
Revert "floppy: reintroduce O_NDELAY fix"
commit c7e9d0020361f4308a70cdfd6d5335e273eb8717 upstream. The patch breaks userspace implementations (e.g. fdutils) and introduces regressions in behaviour. Previously, it was possible to O_NDELAY open a floppy device with no media inserted or with write protected media without an error. Some userspace tools use this particular behavior for probing. It's not the first time when we revert this patch. Previous revert is in commit f2791e7e (Revert "floppy: refactor open() flags handling"). This reverts commit 8a0c014cd20516ade9654fc13b51345ec58e7be8. Link: https://email@example.com/ Reported-by: Mark Hounschell <firstname.lastname@example.org> Cc: Jiri Kosina <email@example.com> Cc: Wim Osterholt <firstname.lastname@example.org> Cc: Kurt Garloff <email@example.com> Cc: <firstname.lastname@example.org> Signed-off-by: Denis Efremov <email@example.com> Signed-off-by: Greg Kroah-Hartman <firstname.lastname@example.org>