Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Edward Tomasz Napierala 2014-04-16 11:07:29 +00:00
parent d5e316e5e8
commit 61a2a354f8

View File

@ -1225,9 +1225,9 @@ conf_apply(struct conf *oldconf, struct conf *newconf)
/*
* XXX: If target or lun removal fails, we should somehow "move"
* the old lun or target into newconf, so that subsequent
* conf_apply() will try to remove them again. That would
* be somewhat hairy, and lun deletion doesn't really happen,
* so leave it as it is for now.
* conf_apply() would try to remove them again. That would
* be somewhat hairy, though, and lun deletion failures don't
* really happen, so leave it as it is for now.
*/
TAILQ_FOREACH_SAFE(oldtarg, &oldconf->conf_targets, t_next, tmptarg) {
/*