Re: [PATCH] fs/ceph: delete unused ceph_file_layout_is_valid function
From: Ilya Dryomov
Date: Tue Dec 12 2017 - 05:15:12 EST
On Tue, Dec 12, 2017 at 2:56 AM, Yaowei Bai
<baiyaowei@xxxxxxxxxxxxxxxxxxxx> 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