Print this page
Matt's code review fixes
*** 2713,2724 ****
ZFS_MAXNAMELEN);
if ((cp = strchr(sendfs, '@')) != NULL) {
*cp = '\0';
/*
* Find the "sendsnap", the final snapshot in a replication
! * stream, so zfs_receive_one() can set filesystem properties
! * ONLY when receiving that final snapshot.
*/
sendsnap = (cp + 1);
}
/* Finally, receive each contained stream */
--- 2713,2725 ----
ZFS_MAXNAMELEN);
if ((cp = strchr(sendfs, '@')) != NULL) {
*cp = '\0';
/*
* Find the "sendsnap", the final snapshot in a replication
! * stream. zfs_receive_one() handles certain errors
! * differently, depending on if the contained stream is the
! * last one or not.
*/
sendsnap = (cp + 1);
}
/* Finally, receive each contained stream */