NFS: change NFS mount error return when hostname/pathname too long
authorChuck Lever <chuck.lever@oracle.com>
Wed, 29 Aug 2007 21:59:03 +0000 (17:59 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 1 Sep 2007 14:14:40 +0000 (10:14 -0400)
commit7d1cca72994c0e910ca443076dcfcfd473871dda
tree298d60951f738592c0ac19aea5cb1e5e57f113a7
parent350c73af6af51ae7654dad91874c0d30dd13bbbe
NFS: change NFS mount error return when hostname/pathname too long

According to the mount(2) man page, the proper error return code for the
mount(2) system call when the special device name or the mounted-on
directory name is too long is ENAMETOOLONG.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/super.c