static int mp_dacl_removexattr(FsContext *ctx,

                               const char *path, const char *name)

{

    int ret;

    char *buffer;



    buffer = rpath(ctx, path);

    ret  = lremovexattr(buffer, MAP_ACL_DEFAULT);

    if (ret == -1 && errno == ENODATA) {

        /*

         * We don't get ENODATA error when trying to remove a

         * posix acl that is not present. So don't throw the error

         * even in case of mapped security model

         */

        errno = 0;

        ret = 0;

    }

    g_free(buffer);

    return ret;

}

static int mp_dacl_removexattr(FsContext *ctx,

                               const char *path, const char *name)

{

    int ret;

    char *buffer;



    buffer = rpath(ctx, path);

    ret  = lremovexattr(buffer, MAP_ACL_DEFAULT);

    if (ret == -1 && errno == ENODATA) {

        









        errno = 0;

        ret = 0;

    }

    g_free(buffer);

    return ret;

}

    char *buffer;     buffer = rpath(ctx, path);     g_free(buffer);     char *buffer;     buffer = rpath(ctx, path);     ret  = lremovexattr(buffer, MAP_ACL_DEFAULT);     g_free(buffer);     char *buffer;     int ret;     buffer = rpath(ctx, path);     g_free(buffer);     return ret;     char *buffer;     buffer = rpath(ctx, path);     g_free(buffer);
static int FUNC_0(FsContext *VAR_0,

                               const char *VAR_1, const char *VAR_2)

{

    int VAR_3;

    char *VAR_4;



    VAR_4 = rpath(VAR_0, VAR_1);

    VAR_3  = lremovexattr(VAR_4, MAP_ACL_DEFAULT);

    if (VAR_3 == -1 && errno == ENODATA) {

        









        errno = 0;

        VAR_3 = 0;

    }

    g_free(VAR_4);

    return VAR_3;

}

static int FUNC_0(FsContext *VAR_0,
const char *VAR_1, const char *VAR_2)
{ int VAR_3; char *VAR_4; VAR_4 = rpath(VAR_0, VAR_1); VAR_3  = lremovexattr(VAR_4, MAP_ACL_DEFAULT); if (VAR_3 == -1 && errno == ENODATA) { errno = 0; VAR_3 = 0; } g_free(VAR_4); return VAR_3; }