git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e911b81
)
nfs: pass string length to pr_notice message about readdir loops
author
Jeff Layton
<jlayton@redhat.com>
Sat, 5 Apr 2014 12:45:57 +0000
(08:45 -0400)
committer
Trond Myklebust
<trond.myklebust@primarydata.com>
Sat, 5 Apr 2014 13:25:42 +0000
(09:25 -0400)
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 <lmcilroy@redhat.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/dir.c
patch
|
blob
|
history
diff --cc
fs/nfs/dir.c
Simple merge