[Ocfs2-devel] [PATCH 09/15] Add helper function in uptodate for removing xattr clusters.v2
Mark Fasheh
mfasheh at suse.com
Thu Jul 10 16:15:17 PDT 2008
On Fri, Jun 27, 2008 at 03:01:49PM +0800, Tao Ma wrote:
> diff --git a/fs/ocfs2/uptodate.c b/fs/ocfs2/uptodate.c
> index 4da8851..7345d1c 100644
> --- a/fs/ocfs2/uptodate.c
> +++ b/fs/ocfs2/uptodate.c
> @@ -511,14 +511,10 @@ static void ocfs2_remove_metadata_tree(struct ocfs2_caching_info *ci,
> ci->ci_num_cached--;
> }
>
> -/* Called when we remove a chunk of metadata from an inode. We don't
> - * bother reverting things to an inlined array in the case of a remove
> - * which moves us back under the limit. */
> -void ocfs2_remove_from_cache(struct inode *inode,
> - struct buffer_head *bh)
> +void ocfs2_remove_block_from_cache(struct inode *inode,
> + sector_t block)
This new function should be static.
--Mark
--
Mark Fasheh
More information about the Ocfs2-devel
mailing list