ubifs: Implement file open operation
authorRichard Weinberger <richard@nod.at>
Thu, 29 Sep 2016 16:00:57 +0000 (18:00 +0200)
committerRichard Weinberger <richard@nod.at>
Mon, 12 Dec 2016 22:07:38 +0000 (23:07 +0100)
commita79bff21c120a615dc8ba6df9258e9e2ef022e3b
tree4769beaf2e5d9f8313602ce5fab4f6a2ccb3ed43
parentba40e6a3c40514f6cd50df50033107c1c6794c20
ubifs: Implement file open operation

We need ->open() for files to load the crypto key.
If the no key is present and the file is encrypted,
refuse to open.

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