ceph: return EIO on invalid layout on GET_DATALOC ioctl
authorSage Weil <sage@inktank.com>
Tue, 25 Sep 2012 04:04:57 +0000 (21:04 -0700)
committerAlex Elder <elder@inktank.com>
Wed, 3 Oct 2012 15:51:17 +0000 (10:51 -0500)
If the user calls GET_DATALOC on a file with an invalid (e.g.,
zeroed) layout, return EIO to userland.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>

No differences found