From: Brian Behlendorf Date: Fri, 30 Nov 2012 19:23:38 +0000 (-0800) Subject: Add load_nvlist() error handling X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=c3275b56a1470ed255441df6ff105d0c3c095d8b;hp=c3275b56a1470ed255441df6ff105d0c3c095d8b;p=zfs.git Add load_nvlist() error handling Add the missing error handling to load_nvlist(). There's no good reason this needs to be fatal. All callers of load_nvlist() do correctly handle an error condition and it is preferable that an error be returned. This will allow 'zpool import -FX' to safely attempt to rollback through previous txgs looking for a good one. Signed-off-by: Brian Behlendorf Closes #1120 ---