bugfix: check prev_written_lsid instead of written_lsid for set_oldest_lsid ioctl.