Re: [PATCH] uapi: remove false assertion that statx_timestamp.tv_nsec can be negative

From: David Howells
Date: Wed Apr 26 2017 - 06:55:45 EST


Dmitry V. Levin <ldv@xxxxxxxxxxxx> wrote:

> remove false assertion

It's not a false assertion. I defined the statx interface that way.

> The best fix for this source of confusion is to change the type
> of struct statx_timestamp.tv_nsec from __s32 to __u32 .

Okay, if we're going to do the comment change, we should effect the type
change also. Do you want to update your patch?

David