summaryrefslogtreecommitdiffstats
path: root/include/linux/dns_resolver.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-09-03 14:56:02 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-02 09:47:38 -0700
commit839e17b7fb531eec48714abf5962b0a1310f71d9 (patch)
tree99a53907cc74ad01d28dc9cc0f8a3f12ac7fa089 /include/linux/dns_resolver.h
parentb4395a14b80188c83d6b126f5617d2f1be852b2d (diff)
downloadlinux-stable-839e17b7fb531eec48714abf5962b0a1310f71d9.tar.gz
linux-stable-839e17b7fb531eec48714abf5962b0a1310f71d9.tar.bz2
linux-stable-839e17b7fb531eec48714abf5962b0a1310f71d9.zip
NFS: Fix the initialisation of the readdir 'cookieverf' array
commit c3f52af3e03013db5237e339c817beaae5ec9e3a upstream. When the NFS_COOKIEVERF helper macro was converted into a static inline function in commit 99fadcd764 (nfs: convert NFS_*(inode) helpers to static inline), we broke the initialisation of the readdir cookies, since that depended on doing a memset with an argument of 'sizeof(NFS_COOKIEVERF(inode))' which therefore changed from sizeof(be32 cookieverf[2]) to sizeof(be32 *). At this point, NFS_COOKIEVERF seems to be more of an obfuscation than a helper, so the best thing would be to just get rid of it. Also see: https://bugzilla.kernel.org/show_bug.cgi?id=46881 Reported-by: Andi Kleen <andi@firstfloor.org> Reported-by: David Binderman <dcb314@hotmail.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/dns_resolver.h')
0 files changed, 0 insertions, 0 deletions