/* Determine whether a buffer is currently out on a read-ahead request. ci_io_sem should be held to serialize submitters with the logic here.  */
int ocfs2_buffer_read_ahead(struct ocfs2_caching_info *ci, struct buffer_head *bh)
/* Determine whether a buffer is currently out on a read-ahead request. ci_io_sem should be held to serialize submitters with the logic here.  */
int ocfs2_buffer_read_ahead(struct ocfs2_caching_info *ci, struct buffer_head *bh)
{
	return buffer_locked(bh) && ocfs2_buffer_cached(ci, bh);
}