ext4: Rework the ext4_da_writepages() function