ilovezfs 78597769b4 Fill in mountpoint buffer before using it in errors
zfs_is_mountable() fills in the mountpoint buffer, so, as in
upstream, it needs to have been called before the mountpoint
buffer can be used in error messages.

In particular,

	return (zfs_error_fmt(hdl, EZFS_MOUNTFAILED,
	    dgettext(TEXT_DOMAIN, "cannot mount '%s'"),
	    mountpoint));

should not come before the call to zfs_is_mountable().

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: ilovezfs <ilovezfs@icloud.com>
Closes #2284
2014-04-30 15:52:01 -07:00
..
2012-08-27 11:47:44 -07:00
2013-01-08 10:35:35 -08:00
2014-04-25 15:35:30 -07:00
2012-08-27 11:47:44 -07:00
2012-08-27 11:47:44 -07:00
2013-11-05 12:23:11 -08:00
2013-12-18 16:46:35 -08:00
2013-09-04 15:49:00 -07:00