ext[34]: fix double put in tmpfile
authorMiklos Szeredi <mszeredi@suse.cz>
Thu, 10 Oct 2013 14:48:19 +0000 (16:48 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 15 Oct 2013 16:14:06 +0000 (12:14 -0400)
commit43ae9e3fc70ca0057ae0a24ef5eedff05e3fae06
treec90e593024fa7d4d3e7ce375e94110ef73d0a66a
parent7dee8dff47734ee52da2cd8b8ea9736e42c5062f
ext[34]: fix double put in tmpfile

d_tmpfile() already swallowed the inode ref.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ext3/namei.c
fs/ext4/namei.c