Modifying full patch for osync(), dsync() system calls.