[PATCH 6.14 108/731] jfs: add check read-only before txBeginAnon() call