From: Tao Ma Date: Mon, 18 Aug 2008 09:38:42 +0000 (+0800) Subject: ocfs2: Modify ocfs2_num_free_extents for future xattr usage. X-Git-Tag: v2.6.28-rc1~572^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=231b87d10920e024efaf0f9e86e1bab7bced1620;p=pandora-kernel.git 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 Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed