Re: [PATCH] ceph: Correctly return NXIO errors from ceph_llseek.

2016-07-26 Thread Yan, Zheng
> On Jul 22, 2016, at 01:43, Phil Turnbull wrote: > > ceph_llseek does not correctly return NXIO errors because the 'out' path > always returns 'offset'. > > Fixes: 06222e491e66 ("fs: handle SEEK_HOLE/SEEK_DATA properly in all fs's > that define their own llseek") >

Re: [PATCH] ceph: Correctly return NXIO errors from ceph_llseek.

2016-07-26 Thread Yan, Zheng
> On Jul 22, 2016, at 01:43, Phil Turnbull wrote: > > ceph_llseek does not correctly return NXIO errors because the 'out' path > always returns 'offset'. > > Fixes: 06222e491e66 ("fs: handle SEEK_HOLE/SEEK_DATA properly in all fs's > that define their own llseek") > Signed-off-by: Phil

[PATCH] ceph: Correctly return NXIO errors from ceph_llseek.

2016-07-21 Thread Phil Turnbull
ceph_llseek does not correctly return NXIO errors because the 'out' path always returns 'offset'. Fixes: 06222e491e66 ("fs: handle SEEK_HOLE/SEEK_DATA properly in all fs's that define their own llseek") Signed-off-by: Phil Turnbull --- fs/ceph/file.c | 12 +---

[PATCH] ceph: Correctly return NXIO errors from ceph_llseek.

2016-07-21 Thread Phil Turnbull
ceph_llseek does not correctly return NXIO errors because the 'out' path always returns 'offset'. Fixes: 06222e491e66 ("fs: handle SEEK_HOLE/SEEK_DATA properly in all fs's that define their own llseek") Signed-off-by: Phil Turnbull --- fs/ceph/file.c | 12 +--- 1 file changed, 5