libfs.c: new helper - next_positive()