aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2019-03-18 17:23:33 +0000
committerTheodore Ts'o <[email protected]>2019-04-16 22:37:25 +0000
commitcd0265fcd2eae9004c68ef2123a9dac0dc5a666a (patch)
tree3d0ecb2c81a38689f21b9f056938cbdaaf6156ed /lib/string_helpers.c
parentLinux 5.1-rc5 (diff)
downloadkernel-cd0265fcd2eae9004c68ef2123a9dac0dc5a666a.tar.gz
kernel-cd0265fcd2eae9004c68ef2123a9dac0dc5a666a.zip
fscrypt: drop inode argument from fscrypt_get_ctx()
The only reason the inode is being passed to fscrypt_get_ctx() is to verify that the encryption key is available. However, all callers already ensure this because if we get as far as trying to do I/O to an encrypted file without the key, there's already a bug. Therefore, remove this unnecessary argument. Signed-off-by: Eric Biggers <[email protected]> Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions