]> 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)
commit3c88cc259e98db0715fe8d557cc5b16afbb175cc
tree9a06483280810a6e0be81e02db844110387a4839
parentfaba7716f1e99c321d7570895b819822482719aa
ubifs: Fix directory size calculation for symlinks

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

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