aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/ubifs/tnc.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2016-12-19 11:15:48 -0800
committerRichard Weinberger <richard@nod.at>2017-01-17 14:34:21 +0100
commit3d4b2fcbc980879a1385d5d7d17a4ffd0ee9aa1f (patch)
tree1128de57bca013516a3cdfc58cecca9ade73e9df /fs/ubifs/tnc.c
parentubifs: allow encryption ioctls in compat mode (diff)
downloadwireguard-linux-3d4b2fcbc980879a1385d5d7d17a4ffd0ee9aa1f.tar.xz
wireguard-linux-3d4b2fcbc980879a1385d5d7d17a4ffd0ee9aa1f.zip
ubifs: remove redundant checks for encryption key
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. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/ubifs/tnc.c')
0 files changed, 0 insertions, 0 deletions