summaryrefslogtreecommitdiff
path: root/fs/namei.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-08-06 22:41:50 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-08-06 22:52:40 -0700
commit830c0f0edca67403d361fe976a25b17356c11f19 (patch)
treeb4bfc71ab9aaff0e8b65403c319dde519dd6f9ef /fs/namei.c
parent7cd4767e696123cdb7447fbd7c281eb8c610c8e4 (diff)
downloadlwn-830c0f0edca67403d361fe976a25b17356c11f19.tar.gz
lwn-830c0f0edca67403d361fe976a25b17356c11f19.zip
vfs: renumber DCACHE_xyz flags, remove some stale ones
Gcc tends to generate better code with small integers, including the DCACHE_xyz flag tests - so move the common ones to be first in the list. Also just remove the unused DCACHE_INOTIFY_PARENT_WATCHED and DCACHE_AUTOFS_PENDING values, their users no longer exists in the source tree. And add a "unlikely()" to the DCACHE_OP_COMPARE test, since we want the common case to be a nice straight-line fall-through. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/namei.c')
0 files changed, 0 insertions, 0 deletions