From: Tomi Valkeinen Date: Fri, 19 Dec 2014 11:55:41 +0000 (+0200) Subject: video/fbdev: fix defio's fsync X-Git-Tag: v3.2.67~77 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c7a02f4cbe237c373138c53dd5a875cc3a3ba89;p=pandora-kernel.git video/fbdev: fix defio's fsync commit 30ea9c5218651bc11cbdba7820be78f04e2d83bc upstream. 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: Tomi Valkeinen [bwh: Backported to 3.2: adjust filename] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed