summaryrefslogtreecommitdiffstats
path: root/fs/ubifs/commit.c
diff options
context:
space:
mode:
authorZhihao Cheng <chengzhihao1@huawei.com>2020-09-29 20:45:30 +0800
committerRichard Weinberger <richard@nod.at>2020-10-11 22:05:49 +0200
commitbb674a4d4de1032837fcbf860a63939e66f0b7ad (patch)
tree4f9a45c58a77a720a30e1d9ed184a07164d76166 /fs/ubifs/commit.c
parent47f6d9ce45b03a40c34b668a9884754c58122b39 (diff)
downloadlinux-bb674a4d4de1032837fcbf860a63939e66f0b7ad.tar.gz
linux-bb674a4d4de1032837fcbf860a63939e66f0b7ad.tar.bz2
linux-bb674a4d4de1032837fcbf860a63939e66f0b7ad.zip
ubifs: Don't parse authentication mount options in remount process
There is no need to dump authentication options while remounting, because authentication initialization can only be doing once in the first mount process. Dumping authentication mount options in remount process may cause memory leak if UBIFS has already been mounted with old authentication mount options. Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com> Cc: <stable@vger.kernel.org> # 4.20+ Fixes: d8a22773a12c6d7 ("ubifs: Enable authentication support") Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions