diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-11-30 12:42:34 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-11-30 10:18:49 -0800 |
commit | 37a09f07459753e7c98d4e21f1c61e8756923f81 (patch) | |
tree | eecab05dc4b4c2de61f4b31f51d301fdcf210737 /crypto/scatterwalk.c | |
parent | e8a7e48bb248a1196484d3f8afa53bded2b24e71 (diff) | |
download | linux-3.10-37a09f07459753e7c98d4e21f1c61e8756923f81.tar.gz linux-3.10-37a09f07459753e7c98d4e21f1c61e8756923f81.tar.bz2 linux-3.10-37a09f07459753e7c98d4e21f1c61e8756923f81.zip |
NFS: Fix a readdirplus bug
When comparing filehandles in the helper nfs_same_file(), we should not be
using 'strncmp()': filehandles are not null terminated strings.
Instead, we should just use the existing helper nfs_compare_fh().
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto/scatterwalk.c')
0 files changed, 0 insertions, 0 deletions