summaryrefslogtreecommitdiffstats
path: root/block/blk-sysfs.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-05-10 21:37:10 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2012-05-11 04:54:35 +0200
commitee983e89670704b2a05e897b161f2674a42d1508 (patch)
tree51b96ffafd9e2496f8a7cf550245850d5a7a5929 /block/blk-sysfs.c
parentvfs: do the careful dentry name access for all dentry_cmp cases (diff)
downloadlinux-ee983e89670704b2a05e897b161f2674a42d1508.tar.xz
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 'block/blk-sysfs.c')
0 files changed, 0 insertions, 0 deletions