diff options
author | Magnus Damm <damm@igel.co.jp> | 2008-12-19 01:34:09 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-12-22 04:44:48 -0500 |
commit | 87884bd8ae42c875adbd62c84f47ed1cbb3e5090 (patch) | |
tree | 93f4632aac9c3a3579702e4b3a5dad16b5c27fa1 /fs | |
parent | 0790555437df2b6070af8f021b8d2ef79e70e144 (diff) |
video: fix deferred io fsync()
If CONFIG_FB_DEFERRED_IO is set, but there are framebuffers
registered that does not make use of deferred io, then fsync()
on those framebuffers will result in a crash. Fix that.
This is needed for sh_mobile_lcdcfb since we always enable
deferred io at compile time but we may disable deferred io
for some types of hardware configurations.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Acked-by: Jaya Kumar <jayakumar.lkml@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions