static int handle_utimensat(FsContext *ctx, V9fsPath *fs_path,

                            const struct timespec *buf)

{

    int ret;

#ifdef CONFIG_UTIMENSAT

    int fd;

    struct handle_data *data = (struct handle_data *)ctx->private;



    fd = open_by_handle(data->mountfd, fs_path->data, O_NONBLOCK);

    if (fd < 0) {

        return fd;

    }

    ret = futimens(fd, buf);

    close(fd);

#else

    ret = -1;

    errno = ENOSYS;

#endif

    return ret;

}

static int handle_utimensat(FsContext *ctx, V9fsPath *fs_path,

                            const struct timespec *buf)

{

    int ret;

#ifdef CONFIG_UTIMENSAT

    int fd;

    struct handle_data *data = (struct handle_data *)ctx->private;



    fd = open_by_handle(data->mountfd, fs_path->data, O_NONBLOCK);

    if (fd < 0) {

        return fd;

    }

    ret = futimens(fd, buf);

    close(fd);

#else

    ret = -1;

    errno = ENOSYS;

#endif

    return ret;

}

#ifdef CONFIG_UTIMENSAT #else     ret = -1;     errno = ENOSYS; #endif
static int FUNC_0(FsContext *VAR_0, V9fsPath *VAR_1,

                            const struct timespec *VAR_2)

{

    int VAR_3;

#ifdef CONFIG_UTIMENSAT

    int fd;

    struct handle_data *data = (struct handle_data *)VAR_0->private;



    fd = open_by_handle(data->mountfd, VAR_1->data, O_NONBLOCK);

    if (fd < 0) {

        return fd;

    }

    VAR_3 = futimens(fd, VAR_2);

    close(fd);

#else

    VAR_3 = -1;

    errno = ENOSYS;

#endif

    return VAR_3;

}

static int FUNC_0(FsContext *VAR_0, V9fsPath *VAR_1,
const struct timespec *VAR_2)
{ int VAR_3; #ifdef CONFIG_UTIMENSAT
int fd; struct handle_data *data = (struct handle_data *)VAR_0->private; fd = open_by_handle(data->mountfd, VAR_1->data, O_NONBLOCK); if (fd < 0) { return fd; } VAR_3 = futimens(fd, VAR_2); close(fd); #else
VAR_3 = -1; errno = ENOSYS; #endif
return VAR_3; }