mount.cifs: running out of addresses is not a system error
authorJeff Layton <jlayton@samba.org>
Wed, 12 Sep 2012 11:49:44 +0000 (07:49 -0400)
committerJeff Layton <jlayton@samba.org>
Wed, 12 Sep 2012 11:49:44 +0000 (07:49 -0400)
commit82f93c44343f281ce61f547ff8f9e5f79945cb20
treeb88a478900e8103bad396d28f9e70075bac2c365
parenta0bf123541ec6fd53948f41f17c9dba5d6a43648
mount.cifs: running out of addresses is not a system error

This patch fixes a minor regression. It used to be that when the mount
helper would run out of addresses that it would return EX_FAIL to
userspace. It now returns EX_SYSERR which is incorrect. Reinstate
the correct error code.

Reported-by: Ales Zelinka <azelinka@redhat.com>
Signed-off-by: Jeff Layton <jlayton@samba.org>
mount.cifs.c