summaryrefslogtreecommitdiffstats
path: root/fs/nfs/dir.c
diff options
context:
space:
mode:
authorLinus Torvalds2012-05-10 21:37:10 +0200
committerLinus Torvalds2012-05-11 04:54:35 +0200
commitee983e89670704b2a05e897b161f2674a42d1508 (patch)
tree51b96ffafd9e2496f8a7cf550245850d5a7a5929 /fs/nfs/dir.c
parentvfs: do the careful dentry name access for all dentry_cmp cases (diff)
downloadkernel-qcow2-linux-ee983e89670704b2a05e897b161f2674a42d1508.tar.gz
kernel-qcow2-linux-ee983e89670704b2a05e897b161f2674a42d1508.tar.xz
kernel-qcow2-linux-ee983e89670704b2a05e897b161f2674a42d1508.zip
vfs: move dentry name length comparison from dentry_cmp() into callers
All callers do want to check the dentry length, but some of them can check the length and the hash together, so doing it in dentry_cmp() can be counter-productive. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nfs/dir.c')
0 files changed, 0 insertions, 0 deletions