From: Joel Becker Date: Thu, 21 Aug 2008 01:32:45 +0000 (-0700) Subject: ocfs2: Add an insertion check to ocfs2_extent_tree_operations. X-Git-Tag: v2.6.28-rc1~572^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e61ee79e2a96f62c007486677319814ce621c3c;p=pandora-kernel.git ocfs2: Add an insertion check to ocfs2_extent_tree_operations. A couple places check an extent_tree for a valid inode. We move that out to add an eo_insert_check() operation. It can be called from ocfs2_insert_extent() and elsewhere. We also have the wrapper calls ocfs2_et_insert_check() and ocfs2_et_sanity_check() ignore NULL ops. That way we don't have to provide useless operations for xattr types. Signed-off-by: Joel Becker Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed