Skip to content
Commit 30ea9c52 authored by Tomi Valkeinen's avatar Tomi Valkeinen
Browse files

video/fbdev: fix defio's fsync



fb_deferred_io_fsync() returns the value of schedule_delayed_work() as
an error code, but schedule_delayed_work() does not return an error. It
returns true/false depending on whether the work was already queued.

Fix this by ignoring the return value of schedule_delayed_work().

Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
Cc: stable@vger.kernel.org
parent 92b004d1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment