[PATCH] xfs: Fix error path in xfs_get_acl

Andreas Gruenbacher agruenba at redhat.com
Sun Oct 11 22:05:43 CDT 2015


On Mon, Oct 12, 2015 at 2:45 AM, Dave Chinner <david at fromorbit.com> wrote:
> Test case for xfstests?

I don't see an easy way to trigger this bug.

> So the entire patch could simply be replaced by:
>
>                 if (error == -ENOATTR)
>                         goto out_update_cache;
> +               acl = ERR_PTR(error);
>                 goto out;
>         }

If you prefer, yes.

Thanks,
Andreas



More information about the xfs mailing list