From: Linus Torvalds Date: Sun, 7 Aug 2011 05:41:50 +0000 (-0700) Subject: vfs: renumber DCACHE_xyz flags, remove some stale ones X-Git-Tag: v3.1-rc1~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=830c0f0edca67403d361fe976a25b17356c11f19;p=pandora-kernel.git 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 --- Reading git-diff-tree failed