aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorAmir Goldstein <[email protected]>2025-06-05 10:15:30 +0000
committerChristian Brauner <[email protected]>2025-06-05 11:17:08 +0000
commit714d02b41939d2720379e11ef25227aec4e5bec9 (patch)
treed4a08a0ff343313fe323c84087daa0cf6d6790c9 /drivers/usb/cdns3/cdns3-debug.h
parentpidfs: never refuse ppid == 0 in PIDFD_GET_INFO (diff)
downloadkernel-714d02b41939d2720379e11ef25227aec4e5bec9.tar.gz
kernel-714d02b41939d2720379e11ef25227aec4e5bec9.zip
ovl: fix regression caused by lookup helpers API changes
The lookup helpers API was changed by merge of vfs-6.16-rc1.async.dir to pass a non-const qstr pointer argument to lookup_one*() helpers. All of the callers of this API were changed to pass a pointer to temp copy of qstr, except overlays that was passing a const pointer to dentry->d_name that was changed to pass a non-const copy instead when doing a lookup in lower layer which is not the fs of said dentry. This wrong use of the API caused a regression in fstest overlay/012. Fix the regression by making a non-const copy of dentry->d_name prior to calling the lookup API, but the API should be fixed to not allow this class of bugs. Cc: NeilBrown <[email protected]> Fixes: 5741909697a3 ("VFS: improve interface for lookup_one functions") Fixes: 390e34bc1490 ("VFS: change lookup_one_common and lookup_noperm_common to take a qstr") Signed-off-by: Amir Goldstein <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions