summaryrefslogtreecommitdiffstats
path: root/drivers/misc/ibmasm/module.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-06-16 10:38:35 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2024-06-19 12:35:57 -0700
commit631e1a710c0489e083d4f1276f6de787a5cf08fb (patch)
tree5d6b9ba7c68308d94a5e9e7e0e65822169aa63f0 /drivers/misc/ibmasm/module.c
parent7d286849a8de41c1aee2957e224c5802d3488c8d (diff)
downloadlinux-631e1a710c0489e083d4f1276f6de787a5cf08fb.tar.gz
linux-631e1a710c0489e083d4f1276f6de787a5cf08fb.tar.bz2
linux-631e1a710c0489e083d4f1276f6de787a5cf08fb.zip
vfs: link_path_walk: clarify and improve name hashing interface
Now that we clearly only care about the length of the name we just parsed, we can simplify and clarify the interface to "name_hash()", and move the actual nd->last field setting in there. That makes everything simpler, and this way don't mix the hash and the length together only to then immediately unmix them again. We still eventually want the combined mixed "hashlen" for when we look things up in the dentry cache, but inside link_path_walk() it's simpler and clearer to just deal with the path component length. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/misc/ibmasm/module.c')
0 files changed, 0 insertions, 0 deletions