]> git.karo-electronics.de Git - karo-tx-linux.git/commit
nfsd: wrong index used in inner loop
authorMi Jinlong <mijinlong@cn.fujitsu.com>
Fri, 11 Mar 2011 04:13:55 +0000 (12:13 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 17 Mar 2011 17:09:19 +0000 (13:09 -0400)
commit5a02ab7c3c4580f94d13c683721039855b67cda6
treeb9a4a8814f4dce7086ae2d0c3d43863d6187aaa1
parentcf507b6f8ebae89c0e7bbd00abc6d8887c9035b1
nfsd: wrong index used in inner loop

We must not use dummy for index.
After the first index, READ32(dummy) will change dummy!!!!

Signed-off-by: Mi Jinlong <mijinlong@cn.fujitsu.com>
[bfields@redhat.com: Trond points out READ_BUF alone is sufficient.]
Cc: stable@kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4xdr.c