Home
last modified time | relevance | path

Searched hist:"3850 aba7" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/devpts/
H A Dinode.c3850aba7 Sun Jan 08 18:40:27 CST 2012 Al Viro <viro@zeniv.linux.org.uk> 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>
3850aba7 Sun Jan 08 18:40:27 CST 2012 Al Viro <viro@zeniv.linux.org.uk> 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>