static int mp_dacl_removexattr(FsContext *ctx,

                               const char *path, const char *name)

{

    int ret;

    char buffer[PATH_MAX];

    ret  = lremovexattr(rpath(ctx, path, 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;

    }

    return ret;

}

static int mp_dacl_removexattr(FsContext *ctx,

                               const char *path, const char *name)

{

    int ret;

    char buffer[PATH_MAX];

    ret  = lremovexattr(rpath(ctx, path, buffer), MAP_ACL_DEFAULT);

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

        









        errno = 0;

        ret = 0;

    }

    return ret;

}

static int FUNC_0(FsContext *VAR_0,

                               const char *VAR_1, const char *VAR_2)

{

    int VAR_3;

    char VAR_4[PATH_MAX];

    VAR_3  = lremovexattr(rpath(VAR_0, VAR_1, VAR_4), MAP_ACL_DEFAULT);

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

        









        errno = 0;

        VAR_3 = 0;

    }

    return VAR_3;

}

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