]> err.no Git - linux-2.6/commit
fb: fsync() method for deferred I/O flush.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 8 May 2007 07:37:41 +0000 (00:37 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:27 +0000 (11:15 -0700)
commit5e841b88d23d0ea0a6ee4e76c489899d4d23ce25
tree7268b4bbb85aa7b1c72f54f7f8cd309b34cfecce
parent7bf1ea33ad70cf49638092367d52859fbbc44fee
fb: fsync() method for deferred I/O flush.

There are cases when we do not want to wait on the delay for automatically
updating the "real" framebuffer, this implements a simple ->fsync() hook
for explicitly flushing the deferred I/O work.  The ->page_mkwrite()
handler will rearm the work queue normally.

(akpm: nuke unneeded ifdefs, forward-delcare struct dentry)

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Cc: Jaya Kumar <jayakumar.lkml@gmail.com>
Acked-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/fb_defio.c
drivers/video/fbmem.c
include/linux/fb.h