[Ocfs2-devel] [PATCH 10/39] ocfs2: Add helper function in uptodate.c for removing xattr clusters
Andrew Morton
akpm at linux-foundation.org
Wed Oct 1 23:11:56 PDT 2008
> On Wed, 24 Sep 2008 15:00:51 -0700 Mark Fasheh <mfasheh at suse.com> wrote:
> +/* Called when we remove xattr clusters from an inode. */
> +void ocfs2_remove_xattr_clusters_from_cache(struct inode *inode,
> + sector_t block,
> + u32 c_len)
> +{
> + u64 i, b_len = ocfs2_clusters_to_blocks(inode->i_sb, 1) * c_len;
> +
> + for (i = 0; i < b_len; i++, block++)
> + ocfs2_remove_block_from_cache(inode, block);
> +}
I really really hope that `i' and `b_len' didn't really need to be
64-bit here.
More information about the Ocfs2-devel
mailing list