]> exis.tech > repos - linux.git/commit
configfs_mkdir(): use take_dentry_name_snapshot()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 9 May 2026 16:41:46 +0000 (12:41 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 8 Jun 2026 18:53:09 +0000 (14:53 -0400)
commit5cefe23f63742881229ea80a55b5f9e5021966bc
tree7da43e68366c8d40c6b6e4cadec7810fe9dde49d
parent9b9e8bb81c41fd27e7b57a1c936fde140548535f
configfs_mkdir(): use take_dentry_name_snapshot()

Note that neither ->make_group() nor ->make_item() are allowed to modify
the string passed to them - the argument is const char *.

Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/configfs/dir.c