fs/9p: re-init the wstat in readdir loop
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sat, 6 Mar 2010 04:44:16 +0000 (04:44 +0000)
committerEric Van Hensbergen <ericvh@gmail.com>
Sat, 13 Mar 2010 14:57:29 +0000 (08:57 -0600)
This ensure that on failure when we free the stat buf we don't end up
freeing an already freed pointer in the earlier loop

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Sripathi Kodi <sripathik@in.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>

No differences found