tdb2: fix pread/pwrite error handling in fill and tdb_write.
The "ret < n" was done as an unsigned comparison, so it didn't work as expected when ret was negative. Simplest fix is to do an equals comparison everywhere, which is also slightly stricter.
Showing
Please register or sign in to comment