diff options
author | Eric Biggers <ebiggers@google.com> | 2019-03-18 10:23:33 -0700 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2019-04-16 18:37:25 -0400 |
commit | cd0265fcd2eae9004c68ef2123a9dac0dc5a666a (patch) | |
tree | 3d0ecb2c81a38689f21b9f056938cbdaaf6156ed /fs/nfsd/nfsproc.c | |
parent | dc4060a5dc2557e6b5aa813bf5b73677299d62d2 (diff) | |
download | linux-cd0265fcd2eae9004c68ef2123a9dac0dc5a666a.tar.bz2 |
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 <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/nfsd/nfsproc.c')
0 files changed, 0 insertions, 0 deletions