[Ocfs2-devel] [PATCH 2/2] ocfs2: Init meta_ac properly in ocfs2_create_empty_xattr_block.
Joel Becker
Joel.Becker at oracle.com
Fri Mar 19 14:51:31 PDT 2010
On Fri, Mar 19, 2010 at 03:04:24PM +0800, Tao Ma wrote:
> Init ctxt.meta_ac properly in ocfs2_create_empty_xattr_block.
>
> Signed-off-by: Tao Ma <tao.ma at oracle.com>
> ---
> fs/ocfs2/xattr.c | 10 ++++------
> 1 files changed, 4 insertions(+), 6 deletions(-)
>
> diff --git a/fs/ocfs2/xattr.c b/fs/ocfs2/xattr.c
> index 82c2a0b..3e77730 100644
> --- a/fs/ocfs2/xattr.c
> +++ b/fs/ocfs2/xattr.c
> @@ -6528,13 +6528,11 @@ static int ocfs2_create_empty_xattr_block(struct inode *inode,
> int indexed)
> {
> int ret;
> - struct ocfs2_alloc_context *meta_ac;
> struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
> - struct ocfs2_xattr_set_ctxt ctxt = {
> - .meta_ac = meta_ac,
> - };
This patch is now in the fixes branch of ocfs2.git. And I'm a
moron. I can't believe I did this.
Joel
--
"Hell is oneself, hell is alone, the other figures in it, merely projections."
- T. S. Eliot
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
More information about the Ocfs2-devel
mailing list