commit | 0db29a11ee418ebdfd97d2777926a5a9d5b0978a | [log] [tgz] |
---|---|---|
author | Eric Biggers <ebiggers@google.com> | Mon Mar 18 10:23:33 2019 -0700 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Fri Jul 12 16:47:39 2019 -0700 |
tree | ca514592ad680de35a6d2d53924c696cb3872f7e | |
parent | ddefbdb100cefabb681a9080dabd59f9d27aa1c5 [diff] |
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>