]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9aac46747b61e0d119bff9557f457c7ada28821e
treec60df63625d95dfa7c35fc60a671a1aff0c3e938
parent0a346513a50afccfd28d614ddecd079d823a96cc
fs/9p: re-init the wstat in readdir loop

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>
fs/9p/vfs_dir.c