Files
twx-linux/include/linux
Eric Biggers 26461e30a7 fscrypt: remove unnecessary calls to fscrypt_require_key()
In an encrypted directory, a regular dentry (one that doesn't have the
no-key name flag) can only be created if the directory's encryption key
is available.

Therefore the calls to fscrypt_require_key() in __fscrypt_prepare_link()
and __fscrypt_prepare_rename() are unnecessary, as these functions
already check that the dentries they're given aren't no-key names.

Remove these unnecessary calls to fscrypt_require_key().

Link: https://lore.kernel.org/r/20201118075609.120337-6-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
2020-12-28 14:49:39 -08:00
..
2020-10-28 13:18:56 +01:00
2020-10-02 14:59:25 -07:00
2020-10-02 15:00:49 -07:00
2020-10-16 17:21:51 +02:00
2020-12-11 14:02:14 -08:00
2020-12-21 13:33:14 -08:00
2020-10-27 16:22:43 +01:00
2020-09-30 22:44:26 +02:00
2020-11-19 22:38:29 -05:00
2020-10-13 18:38:32 -07:00
2020-10-07 14:28:39 -04:00
2020-10-28 11:41:15 -06:00
2020-10-18 09:27:10 -07:00
2020-11-06 10:05:18 -08:00
2020-12-04 17:39:58 +01:00
2020-10-18 09:27:10 -07:00
2020-10-05 13:21:49 +02:00