[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20081001231201.ece971cf.akpm@linux-foundation.org>
Date: Wed, 1 Oct 2008 23:12:01 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Mark Fasheh <mfasheh@...e.com>
Cc: linux-kernel@...r.kernel.org, joel.becker@...cle.com,
ocfs2-devel@....oracle.com, linux-fsdevel@...r.kernel.org,
tao.ma@...cle.com, mfasheh@...e.com
Subject: Re: [PATCH 11/39] ocfs2: Add extent tree operation for xattr value
btrees
> On Wed, 24 Sep 2008 15:00:52 -0700 Mark Fasheh <mfasheh@...e.com> wrote:
> + void *private;
> };
>
> static void ocfs2_dinode_set_last_eb_blk(struct ocfs2_extent_tree *et,
> @@ -136,9 +137,50 @@ static struct ocfs2_extent_tree_operations ocfs2_dinode_et_ops = {
> .sanity_check = ocfs2_dinode_sanity_check,
> };
>
> +static void ocfs2_xattr_value_set_last_eb_blk(struct ocfs2_extent_tree *et,
> + u64 blkno)
> +{
> + struct ocfs2_xattr_value_root *xv =
> + (struct ocfs2_xattr_value_root *)et->private;
unneeded and undesirable cast of void*
> + xv->xr_last_eb_blk = cpu_to_le64(blkno);
> +}
> +
> +static u64 ocfs2_xattr_value_get_last_eb_blk(struct ocfs2_extent_tree *et)
> +{
> + struct ocfs2_xattr_value_root *xv =
> + (struct ocfs2_xattr_value_root *) et->private;
many etceteras.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists