On Tue, Dec 12, 2017 at 2:56 AM, Yaowei Bai <baiyao...@cmss.chinamobile.com> wrote: > There's no users of ceph_file_layout_is_valid, remove it.
It'll get a user in the next kernel release -- we'll remove ad-hoc checks from ceph_calc_file_object_mapping() which is executed on every mapping and call ceph_file_layout_is_valid() once per layout instead. Thanks, Ilya