[PATCH] ubifs: remove redundant checks for encryption key

Richard Weinberger richard at nod.at
Mon Dec 19 11:59:15 PST 2016


On 19.12.2016 20:15, Eric Biggers wrote:
> From: Eric Biggers <ebiggers at google.com>
> 
> In several places, ubifs checked for an encryption key before creating a
> file in an encrypted directory.  This was redundant with
> fscrypt_setup_filename() or ubifs_new_inode(), and in the case of
> ubifs_link() it broke linking to special files.  So remove the extra
> checks.

Thanks for doing this. I assume same or similar changes were also needed
for f2fs and ext4 since I've duplicated the logic from them? :-)

Thanks,
//richard



More information about the linux-mtd mailing list