]> git.ipfire.org Git - thirdparty/linux.git/commit
cachefiles: Fix double fput
authorDavid Howells <dhowells@redhat.com>
Thu, 25 Jun 2026 14:06:21 +0000 (15:06 +0100)
committerChristian Brauner <brauner@kernel.org>
Wed, 1 Jul 2026 13:26:28 +0000 (15:26 +0200)
commitaf6830cc12dfe86c832dccc9c9878a93aaa22f83
tree81409508628e711c94d428e792762fbfae1f957c
parentdbd6f56d975b23241b7bbb11bb8f562af548a0aa
cachefiles: Fix double fput

Fix a double fput() in error handling in cachefiles_create_tmpfile().

Link: https://sashiko.dev/#/patchset/20260608145432.681865-1-dhowells%40redhat.com
Signed-off-by: David Howells <dhowells@redhat.com>
Link: https://patch.msgid.link/20260625140640.3116900-4-dhowells@redhat.com
cc: Paulo Alcantara <pc@manguebit.org>
cc: netfs@lists.linux.dev
cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
fs/cachefiles/namei.c