ubifs: Enforce crypto policy in ->link and ->rename
authorRichard Weinberger <richard@nod.at>
Thu, 29 Sep 2016 18:00:38 +0000 (20:00 +0200)
committerRichard Weinberger <richard@nod.at>
Mon, 12 Dec 2016 22:07:38 +0000 (23:07 +0100)
commitac7e47a9ed1b22b1c71345fcdec35a5d2727ef2c
treeffa8f90b4ce1941a5391905198ced19275502db4
parenta79bff21c120a615dc8ba6df9258e9e2ef022e3b
ubifs: Enforce crypto policy in ->link and ->rename

When a file is moved or linked into another directory
its current crypto policy has to be compatible with the
target policy.

Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/dir.c