]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
vfs: introduce d_mark_tmpfile_name()
authorPaulo Alcantara <pc@manguebit.org>
Tue, 7 Apr 2026 19:58:09 +0000 (16:58 -0300)
committerSteve French <stfrench@microsoft.com>
Fri, 10 Apr 2026 16:25:34 +0000 (11:25 -0500)
commit30a59dddd688bbd75f54e96b174a7aac914774d2
tree02a7d4955e189c20149c83114f4d7840da9ec8ef
parent158f4ff1b809e71a37ea46a6726bbc50b5112221
vfs: introduce d_mark_tmpfile_name()

CIFS requires O_TMPFILE dentries to have names of newly created
delete-on-close files in the server so it can build full pathnames
from the root of the share when performing operations on them.

Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Paulo Alcantara (Red Hat) <pc@manguebit.org>
Cc: Christian Brauner <brauner@kernel.org>
Cc: Jan Kara <jack@suse.cz>
Cc: David Howells <dhowells@redhat.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: linux-fsdevel@vger.kernel.org
Cc: linux-cifs@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/dcache.c
include/linux/dcache.h