aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/ts73xx-fpga.c
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2018-04-30 22:51:42 +0000
committerTheodore Ts'o <[email protected]>2018-05-20 20:21:02 +0000
commit54632f02d0cc4e47e20d0d742bf162021801fa9a (patch)
treecad33d798d5bbe81893afa35a995fa88eda7a6a6 /drivers/fpga/ts73xx-fpga.c
parentfscrypt: don't special-case EOPNOTSUPP from fscrypt_get_encryption_info() (diff)
downloadkernel-54632f02d0cc4e47e20d0d742bf162021801fa9a.tar.gz
kernel-54632f02d0cc4e47e20d0d742bf162021801fa9a.zip
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 <[email protected]> Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'drivers/fpga/ts73xx-fpga.c')
0 files changed, 0 insertions, 0 deletions