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)
commitd3a9262e59f7fb83c6d44df3b2b1460ed57d3ea1
tree563952174f1ffec3d6d27fc3c38d4dc009b6787d
parente24a72c4d8f0b2c17783b3ba9c8931b537149423
fs: Provide empty .set_page_dirty() aop for anon inodes

.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>
fs/anon_inodes.c