nfsd4: Use kmemdup rather than duplicating its implementation
authorThomas Meyer <thomas@m3y3r.de>
Thu, 17 Nov 2011 22:43:40 +0000 (23:43 +0100)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 25 Nov 2011 23:44:22 +0000 (18:44 -0500)
commit67114fe6103183190fb0a24f58e5695a80beb2ec
tree65696c5d33a37acf7af71a5fd6bab0f9c0c155fe
parent009673b439cf74d70a486fca0177e274febd81a7
nfsd4: Use kmemdup rather than duplicating its implementation

The semantic patch that makes this change is available
in scripts/coccinelle/api/memdup.cocci.

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c
fs/nfsd/nfs4xdr.c