commit | ee983e89670704b2a05e897b161f2674a42d1508 | [log] [tgz] |
---|---|---|
author | Linus Torvalds <torvalds@linux-foundation.org> | Thu May 10 12:37:10 2012 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu May 10 19:54:35 2012 -0700 |
tree | 51b96ffafd9e2496f8a7cf550245850d5a7a5929 | |
parent | 94753db5ed9ad97582ef453127d9626a7a2be602 [diff] |
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>