[PATCH] jffs2: Fix use-after-free bug in jffs2_iget()'s error handling path

2017-09-21 Thread Jake Daryll Obina
: d65f03c0 f941 b4e1 aa0103e0 (f9400821) The jffs2_do_clear_inode() call in jffs2_iget() is unnecessary since iget_failed() will eventually call jffs2_do_clear_inode() if needed, so just remove it. Signed-off-by: Jake Daryll Obina <jake.ob...@gmail.com> --- fs/jffs2/fs.c | 1 -

[PATCH] jffs2: Fix use-after-free bug in jffs2_iget()'s error handling path

2017-09-21 Thread Jake Daryll Obina
: d65f03c0 f941 b4e1 aa0103e0 (f9400821) The jffs2_do_clear_inode() call in jffs2_iget() is unnecessary since iget_failed() will eventually call jffs2_do_clear_inode() if needed, so just remove it. Signed-off-by: Jake Daryll Obina --- fs/jffs2/fs.c | 1 - 1 file changed, 1 deletion