diff options
author | 2008-08-20 17:09:42 -0700 | |
---|---|---|
committer | 2008-10-13 16:57:04 -0700 | |
commit | 1c25d93a4a27c90c3ae33f9e724f7b67783d68d1 (patch) | |
tree | d62c9b19fae527770939748566ce3a31ce0bce53 /lib/debugobjects.c | |
parent | ocfs2: Provide the get_root_el() method to ocfs2_extent_tree_operations. (diff) | |
download | wireguard-linux-1c25d93a4a27c90c3ae33f9e724f7b67783d68d1.tar.xz wireguard-linux-1c25d93a4a27c90c3ae33f9e724f7b67783d68d1.zip |
ocfs2: Use struct ocfs2_extent_tree in ocfs2_num_free_extents().
ocfs2_num_free_extents() re-implements the logic of
ocfs2_get_extent_tree(). Now that ocfs2_get_extent_tree() does not
allocate, let's use it in ocfs2_num_free_extents() to simplify the code.
The inode validation code in ocfs2_num_free_extents() is not needed.
All callers are passing in pre-validated inodes.
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions