summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-04-30 15:51:42 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2018-06-28 12:18:52 -0700
commit0077eff1d2e3816a40b71997ab677bb6ca671115 (patch)
tree807a5461b00ae55a82a10c0b98bbc7e850e9f82f /tools/perf/scripts/python
parent3f7af9d27fd6cabff05d149ca1178a5e27852c19 (diff)
fscrypt: drop max_namelen check from fname_decrypt()
fname_decrypt() returns an error if the input filename is longer than the inode's ->max_namelen() as given by the filesystem. But, this doesn't actually make sense because the filesystem provided the input filename in the first place, where it was subject to the filesystem's limits. And fname_decrypt() has no internal limit itself. Thus, remove this unnecessary check. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions