commit | 3850aba74873aa47fefe6900b99f42f5e656a6e7 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun Jan 08 19:40:27 2012 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sun Jan 08 20:19:03 2012 -0500 |
tree | 24f91e8cf4296a86678553809a935f355ae88de0 | |
parent | 87da5b3264c8514b85c6c6e8ef51b9440eee2030 [diff] |
devpts: fix double-free on mount failure devpts_kill_sb() is called even if devpts_fill_super() fails; we should not do that kfree() in the latter, especially not with ->s_fs_info left pointing to freed object. Double kfree() is a Bad Thing(tm)... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>