summaryrefslogtreecommitdiff
path: root/drivers/char/drm/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2026-03-17 17:11:35 +0300
committerPaul Moore <paul@paul-moore.com>2026-03-17 17:13:36 -0400
commitd1a09195866890ed4b407bf17879d2f7fa72d9a7 (patch)
tree9086f336b05294196a082f9abc63818ed445e983 /drivers/char/drm/git@git.tavy.me:linux.git
parentfe3c03b84ae69f34992a5e72cbb8384b9ebad738 (diff)
securityfs: use kstrdup_const() to manage symlink targets
Since 'target' argument of 'securityfs_create_symlink()' is (for now at least) a compile-time constant, it may be reasonable to use 'kstrdup_const()' / 'kree_const()' to manage 'i_link' member of the corresponding inode in attempt to reuse .rodata instance rather than making a copy. Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'drivers/char/drm/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions