- page = cl_page_find(env, obj, fio->ft_index, cfio->ft_vmpage,
- CPT_CACHEABLE);
+ /* Though we have already held a cl_lock upon this page, but
+ * it still can be truncated locally. */
+ page = ERR_PTR(-EFAULT);
+ if (likely(cfio->ft_vmpage->mapping != NULL))
+ page = cl_page_find(env, obj, fio->ft_index, cfio->ft_vmpage,
+ CPT_CACHEABLE);