diff options
author | Joel Becker <joel.becker@oracle.com> | 2008-08-20 21:32:45 -0400 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2008-10-13 19:57:05 -0400 |
commit | 1e61ee79e2a96f62c007486677319814ce621c3c (patch) | |
tree | 50e966441431ec036649dac3ebd17d1452937f26 /fs/readdir.c | |
parent | 1a09f556e5415a29cdddaf9a6ebf474194161cf3 (diff) |
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 <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/readdir.c')
0 files changed, 0 insertions, 0 deletions