From: Jeff Layton Date: Wed, 18 Jun 2014 19:00:19 +0000 (-0400) Subject: nfsd: properly handle embedded newlines in fault_injection input X-Git-Tag: cleanup-for-v3.18~60^2~157 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4c8e34fe8beeb7877ce7f8d2da6affd7231b2cb;p=pandora-kernel.git nfsd: properly handle embedded newlines in fault_injection input Currently rpc_pton() fails to handle the case where you echo an address into the file, as it barfs on the newline. Ensure that we NULL out the first occurrence of any newline. Signed-off-by: Jeff Layton Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed