diff options
author | Latchesar Ionkov <lucho@advancedsolutions.com> | 2006-03-08 00:55:42 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-08 17:14:02 -0500 |
commit | 731805b49489055c1548f7ccfbd44c9b84013264 (patch) | |
tree | 8ff2ee8091a911a6dfb15e02bfcb61d7a9af46b7 /fs/9p/vfs_super.c | |
parent | ed2da193fe6671fe4d7e34041bae40308d18247f (diff) |
[PATCH] v9fs: fix for access to unitialized variables or freed memory
Miscellaneous fixes related to accessing uninitialized variables or memory
that was already freed.
Signed-off-by: Latchesar Ionkov <lucho@ionkov.net>
Cc: Eric Van Hensbergen <ericvh@ericvh.myip.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/9p/vfs_super.c')
-rw-r--r-- | fs/9p/vfs_super.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/9p/vfs_super.c b/fs/9p/vfs_super.c index cdf787ee08de..d05318fa684e 100644 --- a/fs/9p/vfs_super.c +++ b/fs/9p/vfs_super.c | |||
@@ -156,7 +156,6 @@ static struct super_block *v9fs_get_sb(struct file_system_type | |||
156 | stat_result = v9fs_t_stat(v9ses, newfid, &fcall); | 156 | stat_result = v9fs_t_stat(v9ses, newfid, &fcall); |
157 | if (stat_result < 0) { | 157 | if (stat_result < 0) { |
158 | dprintk(DEBUG_ERROR, "stat error\n"); | 158 | dprintk(DEBUG_ERROR, "stat error\n"); |
159 | kfree(fcall); | ||
160 | v9fs_t_clunk(v9ses, newfid); | 159 | v9fs_t_clunk(v9ses, newfid); |
161 | } else { | 160 | } else { |
162 | /* Setup the Root Inode */ | 161 | /* Setup the Root Inode */ |