Re: [PATCH] ceph: check negative offsets on ceph_llseek()

From: Ilya Dryomov
Date: Thu Aug 17 2017 - 13:57:07 EST


On Thu, Aug 17, 2017 at 3:45 PM, Luis Henriques <lhenriques@xxxxxxxx> wrote:
> Luis Henriques <lhenriques@xxxxxxxx> writes:
>
>> When a user requests SEEK_HOLE or SEEK_DATA with a negative offset
>> ceph_llseek should return -ENXIO. Currently -EINVAL is being returned for
>> SEEK_DATA and 0 for SEEK_HOLE.
>
> Ping
>
> This patch should make xfstest generic/448 happy.

It should or it does? ;)

I saw generic/448 failures on ext4 with Darrick's recent test change,
haven't tried ceph yet.

Thanks,

Ilya