commit | 397f238994a5dae1b10e8a6efe9a2e2a95052cee | [log] [tgz] |
---|---|---|
author | Luis Henriques <lhenriques@suse.com> | Fri Jul 28 11:56:40 2017 +0100 |
committer | Ilya Dryomov <idryomov@gmail.com> | Wed Sep 06 19:56:50 2017 +0200 |
tree | 7df8cdbc580dd035874af23647653836da0da0d6 | |
parent | 06d74376c8af32f5b8d777a943aa4dc99165088b [diff] |
ceph: check negative offsets in ceph_llseek() 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. Signed-off-by: Luis Henriques <lhenriques@suse.com> Reviewed-by: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>