summaryrefslogtreecommitdiffstats
path: root/fs/nfs/super.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-09-03 14:56:02 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-09-04 14:52:42 -0400
commitc3f52af3e03013db5237e339c817beaae5ec9e3a (patch)
treec042675337569f9dda0415cd4cb3e54b885bc6a0 /fs/nfs/super.c
parent086600430493e04b802bee6e5b3ce0458e4eb77f (diff)
downloadop-kernel-dev-c3f52af3e03013db5237e339c817beaae5ec9e3a.zip
op-kernel-dev-c3f52af3e03013db5237e339c817beaae5ec9e3a.tar.gz
NFS: Fix the initialisation of the readdir 'cookieverf' array
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> Cc: stable@vger.kernel.org
Diffstat (limited to 'fs/nfs/super.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud