NFS: Clean-up: Replace nfs_copy_user_string with strndup_user
authorChuck Lever <chuck.lever@oracle.com>
Sun, 1 Jul 2007 16:12:30 +0000 (12:12 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 11 Jul 2007 03:40:44 +0000 (23:40 -0400)
commit29eb981a3b8eb4e61cd5b9da835768045d0446cb
treee3239d5ba9857c2f2338be53633fdc319044a186
parent5680d48be88d12cd987e5579a6072a4ca34ca6ea
NFS: Clean-up: Replace nfs_copy_user_string with strndup_user

The new string utility function strndup_user can be used instead of
nfs_copy_user_string, eliminating an unnecessary duplication of function.

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