From 395a48cfad63e96bb416d68ee4b004660220b5b8 Mon Sep 17 00:00:00 2001 From: "Pedro F. Giffuni" Date: Thu, 29 Jan 2015 01:26:23 +0000 Subject: [PATCH] Revert r277814: It will be re-merged through the vendor area. --- contrib/amd/amd/amfs_generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/amd/amd/amfs_generic.c b/contrib/amd/amd/amfs_generic.c index 0d5996969cf8..3e7c365a7593 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)