Changeset 165 for branches/samba-3.0/source/smbd/aio.c
- Timestamp:
- Mar 11, 2009, 9:14:55 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/source/smbd/aio.c
r44 r165 254 254 a->aio_sigevent.sigev_value.sival_int = aio_ex->mid; 255 255 256 become_root(); 256 257 if (SMB_VFS_AIO_READ(fsp,a) == -1) { 257 258 DEBUG(0,("schedule_aio_read_and_X: aio_read failed. " 258 259 "Error %s\n", strerror(errno) )); 259 260 delete_aio_ex(aio_ex); 260 return False; 261 } 261 unbecome_root(); 262 return False; 263 } 264 unbecome_root(); 262 265 263 266 DEBUG(10,("schedule_aio_read_and_X: scheduled aio_read for file %s, " … … 344 347 a->aio_sigevent.sigev_value.sival_int = aio_ex->mid; 345 348 349 become_root(); 346 350 if (SMB_VFS_AIO_WRITE(fsp,a) == -1) { 347 351 DEBUG(3,("schedule_aio_wrote_and_X: aio_write failed. " 348 352 "Error %s\n", strerror(errno) )); 349 353 delete_aio_ex(aio_ex); 350 return False; 351 } 354 unbecome_root(); 355 return False; 356 } 357 unbecome_root(); 352 358 353 359 if (!write_through && !lp_syncalways(SNUM(fsp->conn))
Note:
See TracChangeset
for help on using the changeset viewer.