[JFFS2] Use rb_first() and rb_last() cleanup