]> Gentwo Git Trees - linux/.git/commit
nfsd: fix end_creating() conversion
authorNeil Brown <neil@brown.name>
Thu, 27 Nov 2025 10:48:56 +0000 (11:48 +0100)
committerChristian Brauner <brauner@kernel.org>
Fri, 28 Nov 2025 08:51:16 +0000 (09:51 +0100)
commiteeec741ee0df36e79a847bb5423f9eef4ed96071
treea3b403fe472ec1a2666b7192652052de526fd7b8
parent523ac768800c95d34522e8e33775bf911b883fe2
nfsd: fix end_creating() conversion

Avoid a double-unlock as nfs_create_locked() will have unlocked the
parent and do the dput() manually.

Christian Brauner <brauner@kernel.org> says:

I've taken Neil's proposed fix from [1] and added a commit message.

Fixes: https://lore.kernel.org/202511252132.2c621407-lkp@intel.com [1]
Fixes: bd6ede8a06e8 ("VFS/nfsd/cachefiles/ovl: introduce start_removing() and end_removing()")
Signed-off-by: Neil Brown <neil@brown.name>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/nfsd/nfsproc.c
fs/nfsd/vfs.c