diff options
author | Joel Becker <joel.becker@oracle.com> | 2008-08-21 01:48:35 +0200 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2008-10-14 01:57:04 +0200 |
commit | dc0ce61af418305afa7e0d05d86ab334e0daabf7 (patch) | |
tree | 7122bafdcb29a77cd65e34a600d3df76b9e165fe /fs/internal.h | |
parent | ocfs2: Prefix the ocfs2_extent_tree structure. (diff) | |
download | linux-dc0ce61af418305afa7e0d05d86ab334e0daabf7.tar.xz linux-dc0ce61af418305afa7e0d05d86ab334e0daabf7.zip |
ocfs2: Make ocfs2_extent_tree get/put instead of alloc.
Rather than allocating a struct ocfs2_extent_tree, just put it on the
stack. Fill it with ocfs2_get_extent_tree() and drop it with
ocfs2_put_extent_tree(). Now the callers don't have to ENOMEM, yet
still safely ref the root_bh.
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/internal.h')
0 files changed, 0 insertions, 0 deletions