]> Git Repo - linux.git/commit - include/linux/dcache.h
vfs: uninline full_name_hash()
authorLinus Torvalds <[email protected]>
Fri, 2 Mar 2012 22:32:59 +0000 (14:32 -0800)
committerLinus Torvalds <[email protected]>
Fri, 2 Mar 2012 22:32:59 +0000 (14:32 -0800)
commit0145acc202ca613b23b5383e55df3c32a92ad1bf
tree779292f953fb9845252295679fb712faf7f52624
parent8966be90304b394fd6a2c5af7b6b3abe2df3889c
vfs: uninline full_name_hash()

.. and also use it in lookup_one_len() rather than open-coding it.

There aren't any performance-critical users, so inlining it is silly.
But it wouldn't matter if it wasn't for the fact that the word-at-a-time
dentry name patches want to conditionally replace the function, and
uninlining it sets the stage for that.

So again, this is a preparatory patch that doesn't change any semantics,
and only prepares for a much cleaner and testable word-at-a-time dentry
name accessor patch.

Signed-off-by: Linus Torvalds <[email protected]>
fs/namei.c
include/linux/dcache.h
This page took 0.05621 seconds and 4 git commands to generate.