commit | c96f58573778ddf96ff67108a635f3f642ea63d3 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Wed May 06 01:35:04 2009 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sat May 09 10:49:40 2009 -0400 |
tree | 2dece203929c557a0247a1898be406f94fc51269 | |
parent | 6f5bbff9a1b7d6864a495763448a363bbfa96324 [diff] [blame] |
Fix a leak in failure exit in 9p ->get_sb() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/9p/vfs_super.c b/fs/9p/vfs_super.c index 0d29a57..ab5547f 100644 --- a/fs/9p/vfs_super.c +++ b/fs/9p/vfs_super.c
@@ -156,6 +156,7 @@ root = d_alloc_root(inode); if (!root) { + iput(inode); retval = -ENOMEM; goto release_sb; }