|
Kmods SIG |
63c143 |
From 2829e39e0e8add377508b3c6ef4cf48e6db324fb Mon Sep 17 00:00:00 2001
|
|
Kmods SIG |
63c143 |
From: Kari Argillander <kari.argillander@gmail.com>
|
|
Kmods SIG |
63c143 |
Date: Tue, 7 Sep 2021 11:34:40 +0300
|
|
Kmods SIG |
63c143 |
Subject: [Backport 2829e39e0e8a] src: Remove braces from single statment
|
|
Kmods SIG |
63c143 |
block
|
|
Kmods SIG |
63c143 |
|
|
Kmods SIG |
63c143 |
Remove braces from single statment block as they are not needed. Also
|
|
Kmods SIG |
63c143 |
Linux kernel coding style guide recommend this and checkpatch warn about
|
|
Kmods SIG |
63c143 |
this.
|
|
Kmods SIG |
63c143 |
|
|
Kmods SIG |
63c143 |
Signed-off-by: Kari Argillander <kari.argillander@gmail.com>
|
|
Kmods SIG |
63c143 |
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
|
|
Kmods SIG |
63c143 |
---
|
|
Kmods SIG |
63c143 |
src/frecord.c | 3 +--
|
|
Kmods SIG |
63c143 |
1 file changed, 1 insertion(+), 2 deletions(-)
|
|
Kmods SIG |
63c143 |
|
|
Kmods SIG |
63c143 |
diff --git a/src/frecord.c b/src/frecord.c
|
|
Kmods SIG |
63c143 |
index 2f8af53da219c3486f2d5eef5d2f5a136c126b9e..1e1a09034f65b023872d86b866ee5b3907634506 100644
|
|
Kmods SIG |
63c143 |
--- a/src/frecord.c
|
|
Kmods SIG |
63c143 |
+++ b/src/frecord.c
|
|
Kmods SIG |
63c143 |
@@ -2903,9 +2903,8 @@ bool ni_remove_name_undo(struct ntfs_inode *dir_ni, struct ntfs_inode *ni,
|
|
Kmods SIG |
63c143 |
memcpy(Add2Ptr(attr, SIZEOF_RESIDENT), de + 1, de_key_size);
|
|
Kmods SIG |
63c143 |
mi_get_ref(&ni->mi, &de->ref);
|
|
Kmods SIG |
63c143 |
|
|
Kmods SIG |
63c143 |
- if (indx_insert_entry(&dir_ni->dir, dir_ni, de, sbi, NULL, 1)) {
|
|
Kmods SIG |
63c143 |
+ if (indx_insert_entry(&dir_ni->dir, dir_ni, de, sbi, NULL, 1))
|
|
Kmods SIG |
63c143 |
return false;
|
|
Kmods SIG |
63c143 |
- }
|
|
Kmods SIG |
63c143 |
}
|
|
Kmods SIG |
63c143 |
|
|
Kmods SIG |
63c143 |
return true;
|
|
Kmods SIG |
63c143 |
--
|
|
Kmods SIG |
63c143 |
2.31.1
|
|
Kmods SIG |
63c143 |
|