From: Jeff Layton Date: Sat, 5 Apr 2014 12:45:57 +0000 (-0400) Subject: nfs: pass string length to pr_notice message about readdir loops X-Git-Tag: v3.15-rc1~66^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9581a4ae75517099bc87e1c43d1a8f35b55741b9;p=pandora-kernel.git nfs: pass string length to pr_notice message about readdir loops There is no guarantee that the strings in the nfs_cache_array will be NULL-terminated. In the event that we end up hitting a readdir loop, we need to ensure that we pass the warning message the length of the string. Reported-by: Lachlan McIlroy Signed-off-by: Jeff Layton Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed