sdlog2: lseek() workaround removed

This commit is contained in:
Anton Babushkin
2014-03-07 23:14:39 +04:00
parent 2ee8214244
commit c11e1ee0ab
-1
View File
@@ -454,7 +454,6 @@ static void *logwriter_thread(void *arg)
n = available;
}
lseek(log_fd, 0, SEEK_CUR);
n = write(log_fd, read_ptr, n);
should_wait = (n == available) && !is_part;