diff options
| author | Richard Weinberger <[email protected]> | 2020-09-28 18:58:59 +0000 |
|---|---|---|
| committer | Richard Weinberger <[email protected]> | 2020-09-29 08:43:05 +0000 |
| commit | 78c7d49f55d8631b67c09f9bfbe8155211a9ea06 (patch) | |
| tree | 3fb96e41c5899e06079853c01a08bafb463cba86 /net/unix/af_unix.c | |
| parent | ubifs: setflags: Don't show error message when vfs_ioc_setflags_prepare() fails (diff) | |
| download | kernel-78c7d49f55d8631b67c09f9bfbe8155211a9ea06.tar.gz kernel-78c7d49f55d8631b67c09f9bfbe8155211a9ea06.zip | |
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: <[email protected]>
Cc: Sascha Hauer <[email protected]>
Cc: Kristof Havasi <[email protected]>
Fixes: 6a98bc4614de ("ubifs: Add authentication nodes to journal")
Reported-and-tested-by: Kristof Havasi <[email protected]>
Reviewed-by: Sascha Hauer <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
