diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-10 21:37:10 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-11 04:54:35 +0200 |
commit | ee983e89670704b2a05e897b161f2674a42d1508 (patch) | |
tree | 51b96ffafd9e2496f8a7cf550245850d5a7a5929 /block/blk-sysfs.c | |
parent | vfs: do the careful dentry name access for all dentry_cmp cases (diff) | |
download | linux-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