Commit ebf67b94 authored by Committed by Greg Kroah-HartmanBrowse files
Revert "floppy: reintroduce O_NDELAY fix"
commit c7e9d002 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 8a0c014c. Link: https://firstname.lastname@example.org/ Reported-by: Mark Hounschell <email@example.com> Cc: Jiri Kosina <firstname.lastname@example.org> Cc: Wim Osterholt <email@example.com> Cc: Kurt Garloff <firstname.lastname@example.org> Cc: <email@example.com> Signed-off-by: Denis Efremov <firstname.lastname@example.org> Signed-off-by: Greg Kroah-Hartman <email@example.com>