fbdefio: add set_page_dirty handler to deferred IO FB
Fixes kernel BUG at lib/radix-tree.c:473.
Previously the handler was incidentally provided by tmpfs but this was
Author: Hugh Dickins <firstname.lastname@example.org>
Date: Mon Jul 28 15:46:19 2008 -0700
tmpfs: fix kernel BUG in shmem_delete_inode
relying on this behaviour was incorrect in any case and the BUG also
appeared when the device node was on an ext3 filesystem.
v2: override a_ops at open() time rather than mmap() time to minimise
races per AKPM's concerns.
Signed-off-by: Ian Campbell <email@example.com>
Cc: Jaya Kumar <firstname.lastname@example.org>
Cc: Nick Piggin <email@example.com>
Cc: Peter Zijlstra <firstname.lastname@example.org>
Cc: Hugh Dickins <email@example.com>
Cc: Johannes Weiner <firstname.lastname@example.org>
Cc: Jeremy Fitzhardinge <email@example.com>
Cc: Kel Modderman <firstname.lastname@example.org>
Cc: Markus Armbruster <email@example.com>
Cc: Krzysztof Helt <firstname.lastname@example.org>
Cc: <email@example.com> [14fcc23fd is in 184.108.40.206 and 220.127.116.11]
Signed-off-by: Andrew Morton <firstname.lastname@example.org>
Signed-off-by: Linus Torvalds <email@example.com>
3 files changed