diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-09-03 14:56:02 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-02 09:47:38 -0700 |
commit | 839e17b7fb531eec48714abf5962b0a1310f71d9 (patch) | |
tree | 99a53907cc74ad01d28dc9cc0f8a3f12ac7fa089 /include/linux/dns_resolver.h | |
parent | b4395a14b80188c83d6b126f5617d2f1be852b2d (diff) | |
download | linux-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