On Wed, Nov 29, 2023 at 05:33:06PM -0800, Bart Van Assche wrote: > Reject values that are valid rw_hints after truncation but not before > truncation by passing an untruncated value to rw_hint_valid(). Looks good: Reviewed-by: Christoph Hellwig <hch@xxxxxx> Btw, having one helper for F_GET_RW_HINT and F_SET_RW_HINT looks pretty odd to me, it seems like the code would be cleaner if that was split into two helpers instead.