[PATCH 6.14 109/731] jfs: add check read-only before truncation in jfs_truncate_nolock()