]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
libfs: change simple_done_creating() to use end_creating()
authorNeilBrown <neil@brown.name>
Tue, 24 Feb 2026 22:16:49 +0000 (09:16 +1100)
committerChristian Brauner <brauner@kernel.org>
Fri, 6 Mar 2026 09:24:11 +0000 (10:24 +0100)
commit1948172bddabef7f9ca46d3e965e71eb93a0dcc5
tree05dfdfa4dfdf65e93cfcd89f35653373dad52bc3
parent4eb94abd6bc8989d7478b9fdbff4dab5abc11ef7
libfs: change simple_done_creating() to use end_creating()

simple_done_creating() and end_creating() are identical.
So change the former to use the latter.  This further centralises
unlocking of directories.

Signed-off-by: NeilBrown <neil@brown.name>
Link: https://patch.msgid.link/20260224222542.3458677-5-neilb@ownmail.net
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/libfs.c