summaryrefslogtreecommitdiffstats
path: root/fs/nls
diff options
context:
space:
mode:
authorJoern Engel <joern@purestorage.com>2018-03-13 19:36:49 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2018-03-15 00:55:29 +0100
commit8df3aaaf9b5f8bdfc4036695fa22f35b45b4d92f (patch)
tree159410afc5a8b37d2026d367fb570d10ff2e98bd /fs/nls
parentMerge branch 'percpu_ref-rcu-audit-fixes' of git://git.kernel.org/pub/scm/lin... (diff)
downloadlinux-8df3aaaf9b5f8bdfc4036695fa22f35b45b4d92f.tar.xz
linux-8df3aaaf9b5f8bdfc4036695fa22f35b45b4d92f.zip
btree: avoid variable-length allocations
geo->keylen cannot be larger than 4. So we might as well make fixed-size allocations. Given the one remaining user, geo->keylen cannot even be larger than 1. Logfs used to have 64bit and 128bit keys, tcm_qla2xxx only has 32bit keys. But let's not break the code if we don't have to. Signed-off-by: Joern Engel <joern@purestorage.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nls')
0 files changed, 0 insertions, 0 deletions