]> git.baikalelectronics.ru Git - kernel.git/commit
ubifs: Fix directory size calculation for symlinks
authorRichard Weinberger <richard@nod.at>
Mon, 11 Jun 2018 21:41:09 +0000 (23:41 +0200)
committerRichard Weinberger <richard@nod.at>
Tue, 14 Aug 2018 22:06:15 +0000 (00:06 +0200)
commita067024106c16e95e916dbf342f3aeaa766e08a4
tree9a06483280810a6e0be81e02db844110387a4839
parent852c0ed64676d10e2a30b88dadbce256b9dc0d21
ubifs: Fix directory size calculation for symlinks

We have to account the name of the symlink and not the target length.

Fixes: eeebf7b0eadb ("ubifs: Add support for encrypted symlinks")
Cc: <stable@vger.kernel.org>
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/dir.c