diff options
author | Tao Ma <tao.ma@oracle.com> | 2008-08-18 17:38:42 +0800 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2008-10-13 13:57:58 -0700 |
commit | 231b87d10920e024efaf0f9e86e1bab7bced1620 (patch) | |
tree | 00283dfb9e4a7054576be8a073635dc51bdc4e22 /fs/ocfs2/file.h | |
parent | 9a8ff578fb430a8816dfbc73c77e5e09c6d9c343 (diff) | |
download | op-kernel-dev-231b87d10920e024efaf0f9e86e1bab7bced1620.zip op-kernel-dev-231b87d10920e024efaf0f9e86e1bab7bced1620.tar.gz |
ocfs2: Modify ocfs2_num_free_extents for future xattr usage.
ocfs2_num_free_extents() is used to find the number of free extent records
in an inode btree. Hence, it takes an "ocfs2_dinode" parameter. We want to
use this for extended attribute trees in the future, so genericize the
interface the take a buffer head. A future patch will allow that buffer_head
to contain any structure rooting an ocfs2 btree.
Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/ocfs2/file.h')
-rw-r--r-- | fs/ocfs2/file.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/file.h b/fs/ocfs2/file.h index 5a6d3e4..c96b805 100644 --- a/fs/ocfs2/file.h +++ b/fs/ocfs2/file.h @@ -57,7 +57,7 @@ int ocfs2_do_extend_allocation(struct ocfs2_super *osb, enum ocfs2_alloc_restarted *reason_ret); int ocfs2_extend_no_holes(struct inode *inode, u64 new_i_size, u64 zero_to); -int ocfs2_lock_allocators(struct inode *inode, struct ocfs2_dinode *di, +int ocfs2_lock_allocators(struct inode *inode, struct buffer_head *fe, u32 clusters_to_add, u32 extents_to_split, struct ocfs2_alloc_context **data_ac, struct ocfs2_alloc_context **meta_ac); |