-
由 Alexey Dobriyan 提交于
If ->open() wasn't called, returning 0 is misleading and, theoretically, oopsable: 1) remove_proc_entry clears ->proc_fops, drops lock, 2) ->open "succeeds", 3) ->release oopses, because it assumes ->open was called (single_release()). Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
300b994b