On 21/10/13 09:47, Jeff Layton wrote: > Currently, mount.nfs returns an error code, but doesn't print anything > when this occurs. > > Reported-by: Eric Doutreleau <edoutreleau@xxxxxxxxxxxxxxxx> > Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx> committed... steved. > --- > utils/mount/stropts.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/utils/mount/stropts.c b/utils/mount/stropts.c > index 1dc38ef..a642394 100644 > --- a/utils/mount/stropts.c > +++ b/utils/mount/stropts.c > @@ -1004,6 +1004,7 @@ static int nfs_remount(struct nfsmount_info *mi) > { > if (nfs_sys_mount(mi, mi->options)) > return EX_SUCCESS; > + mount_error(mi->spec, mi->node, errno); > return EX_FAIL; > } > > -- 1.8.3.1 > -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html