easy grep. Small code reorganization to look more logic. Copy ffs_write check from prev. commit to ffs_extwrite.