ocfs2: simplify ocfs2_invalidatepage() and ocfs2_releasepage()
authorJan Kara <jack@suse.cz>
Tue, 12 Nov 2013 23:07:08 +0000 (15:07 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:02 +0000 (12:09 +0900)
commit41ecc345984bcc8bf341a3e758c1eb3fc543dd83
tree6b1d1e3a3f47b1ec5182e466d737f0496744013c
parentd00d2f8ab9f20f8e6a0fc3804847b418498d80b8
ocfs2: simplify ocfs2_invalidatepage() and ocfs2_releasepage()

Ocfs2 doesn't do data journalling.  Thus its ->invalidatepage and
->releasepage functions never get called on buffers that have journal
heads attached.  So just use standard variants of functions from
buffer.c.

Signed-off-by: Jan Kara <jack@suse.cz>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ocfs2/aops.c