summaryrefslogtreecommitdiffstats
path: root/mm/z3fold.c
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2020-09-28 20:58:59 +0200
committerRichard Weinberger <richard@nod.at>2020-09-29 10:43:05 +0200
commit78c7d49f55d8631b67c09f9bfbe8155211a9ea06 (patch)
tree3fb96e41c5899e06079853c01a08bafb463cba86 /mm/z3fold.c
parent121b8fcbf98892d5f26d8326a00d09e4cdb76369 (diff)
downloadlinux-78c7d49f55d8631b67c09f9bfbe8155211a9ea06.tar.bz2
ubifs: journal: Make sure to not dirty twice for auth nodes
When removing the last reference of an inode the size of an auth node is already part of write_len. So we must not call ubifs_add_auth_dirt(). Call it only when needed. Cc: <stable@vger.kernel.org> Cc: Sascha Hauer <s.hauer@pengutronix.de> Cc: Kristof Havasi <havasiefr@gmail.com> Fixes: 6a98bc4614de ("ubifs: Add authentication nodes to journal") Reported-and-tested-by: Kristof Havasi <havasiefr@gmail.com> Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'mm/z3fold.c')
0 files changed, 0 insertions, 0 deletions