fs: Provide empty .set_page_dirty() aop for anon inodes
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 18 Jun 2009 10:54:00 +0000 (12:54 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 18 Jun 2009 12:46:10 +0000 (14:46 +0200)
.set_page_dirty() is one of those a_ops that defaults to the
buffer implementation when not set. Therefore provide a dummy
function to make it do nothing.

(Uncovered by perfcounters fd's which can now be writable-mmap-ed.)

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Davide Libenzi <davidel@xmailserver.org>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found