[Ocfs2-devel] [PATCH 09/13] ocfs2: Start using buckets in ocfs2_adjust_xattr_cross_cluster().

Tao Ma tao.ma at oracle.com
Wed Nov 26 18:16:05 PST 2008



Joel Becker wrote:
> We want to be passing around buckets instead of buffer_heads.  Let's get
> them into ocfs2_adjust_xattr_cross_cluster.
> 
> Signed-off-by: Joel Becker <joel.becker at oracle.com>
> ---
>  fs/ocfs2/xattr.c |   46 ++++++++++++++++++++++++++++++++++++++--------
>  1 files changed, 38 insertions(+), 8 deletions(-)
> 
> diff --git a/fs/ocfs2/xattr.c b/fs/ocfs2/xattr.c
> index 2c9b673..4dcbc21 100644
> --- a/fs/ocfs2/xattr.c
> +++ b/fs/ocfs2/xattr.c
> @@ -3613,7 +3613,7 @@ static int ocfs2_mv_xattr_bucket_cross_cluster(struct inode *inode,
>  		 * These shouldn't fail - the buffers are in the
>  		 * journal from ocfs2_cp_xattr_bucket().
>  		 */
> -		ret = ocfs2_read_xattr_bucket(new_first, src_blkno);
> +		ret = ocfs2_read_xattr_bucket(new_first, new_blkno);
>  		if (ret) {
>  			mlog_errno(ret);
>  			goto out;
sorry, I didn't see you change it here, but it may be merged with the 
previous patch.

Regards,
Tao



More information about the Ocfs2-devel mailing list