summaryrefslogtreecommitdiffstats
path: root/contrib/amd
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2015-01-29 01:26:23 +0000
committerpfg <pfg@FreeBSD.org>2015-01-29 01:26:23 +0000
commit6789315d88b34942ecea8cded3957162a0062a57 (patch)
treeb6f5fee31d3f16937144b34aee794844e184131f /contrib/amd
parent1fd46ffae3876ef73b20c70d78016b18be7cc141 (diff)
downloadFreeBSD-src-6789315d88b34942ecea8cded3957162a0062a57.zip
FreeBSD-src-6789315d88b34942ecea8cded3957162a0062a57.tar.gz
Revert r277814: It will be re-merged through the vendor area.
Diffstat (limited to 'contrib/amd')
-rw-r--r--contrib/amd/amd/amfs_generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/amd/amd/amfs_generic.c b/contrib/amd/amd/amfs_generic.c
index 0d59969..3e7c365 100644
--- a/contrib/amd/amd/amfs_generic.c
+++ b/contrib/amd/amd/amfs_generic.c
@@ -1113,7 +1113,7 @@ amfs_generic_mount_child(am_node *new_mp, int *error_return)
new_mp->am_transp = (SVCXPRT *) xmalloc(sizeof(SVCXPRT));
*(new_mp->am_transp) = *current_transp;
}
- if (error && new_mp->am_mnt && (new_mp->am_mnt->mf_ops == &amfs_error_ops))
+ if (error && (new_mp->am_mnt->mf_ops == &amfs_error_ops))
new_mp->am_error = error;
if (new_mp->am_error > 0)
OpenPOWER on IntegriCloud