NFS: Clean up: copy hostname with kstrndup during mount processing
commit6a0ed1de8ecee0cde21ea667891a03f6c84ecd66
authorChuck Lever <chuck.lever@oracle.com>
Fri, 26 Oct 2007 17:32:40 +0000 (26 13:32 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 30 Jan 2008 07:05:46 +0000 (30 02:05 -0500)
tree898a769a98459e55d1ccd957c09d8cc3f0311833
parente887cbcf911b2d16742832b38411559273ce5d77
NFS: Clean up: copy hostname with kstrndup during mount processing

Clean up: mount option parsing uses kstrndup in several places, rather than
using kzalloc.  Replace the few remaining uses of kzalloc with kstrndup,
for consistency.

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