Re: [PATCH 2/2] fs: remove fs.f_write_hint

Chaitanya Kulkarni
2022-03-08T22:20:08Z

On 3/7/22 22:05, Christoph Hellwig wrote:
> The value is now completely unused except for reporting it back through
> the F_GET_FILE_RW_HINT ioctl, so remove the value and the two ioctls
> for it.
>
> Trying to use the F_SET_FILE_RW_HINT and F_GET_FILE_RW_HINT fcntls will
> now return EINVAL, just like it would on a kernel that never supported
> this functionality in the first place.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
> fs/fcntl.c | 18 ------------------

this follows the discussion on the other tread of returning EINVAL.

Looks good.

Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>