Searched refs:dest_err (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/fs/nfs/objlayout/
H A Dobjlayout.c427 merge_ioerr(struct pnfs_osd_ioerr *dest_err, merge_ioerr() argument
432 if (!dest_err->oer_errno) { merge_ioerr()
433 *dest_err = *src_err; merge_ioerr()
435 memset(&dest_err->oer_component.oid_device_id, 0, merge_ioerr()
436 sizeof(dest_err->oer_component.oid_device_id)); merge_ioerr()
441 if (dest_err->oer_component.oid_partition_id != merge_ioerr()
443 dest_err->oer_component.oid_partition_id = 0; merge_ioerr()
445 if (dest_err->oer_component.oid_object_id != merge_ioerr()
447 dest_err->oer_component.oid_object_id = 0; merge_ioerr()
449 if (dest_err->oer_comp_offset > src_err->oer_comp_offset) merge_ioerr()
450 dest_err->oer_comp_offset = src_err->oer_comp_offset; merge_ioerr()
452 dest_end = end_offset(dest_err->oer_comp_offset, merge_ioerr()
453 dest_err->oer_comp_length); merge_ioerr()
459 dest_err->oer_comp_length = dest_end - dest_err->oer_comp_offset; merge_ioerr()
461 if ((src_err->oer_iswrite == dest_err->oer_iswrite) && merge_ioerr()
462 (err_prio(src_err->oer_errno) > err_prio(dest_err->oer_errno))) { merge_ioerr()
463 dest_err->oer_errno = src_err->oer_errno; merge_ioerr()
465 dest_err->oer_iswrite = true; merge_ioerr()
466 dest_err->oer_errno = src_err->oer_errno; merge_ioerr()

Completed in 73 milliseconds