Blame SOURCES/0055-fs-ntfs3-Remove-before-constant-in-ni_insert_residen.patch
|
Kmods SIG |
8b815c |
From 7d95995ab4de07ee642c925aa6dbf6d07069a751 Mon Sep 17 00:00:00 2001
|
|
Kmods SIG |
8b815c |
From: Kari Argillander <kari.argillander@gmail.com>
|
|
Kmods SIG |
8b815c |
Date: Tue, 7 Sep 2021 11:34:38 +0300
|
|
Kmods SIG |
8b815c |
Subject: [Backport 7d95995ab4de] src: Remove '+' before constant in
|
|
Kmods SIG |
8b815c |
ni_insert_resident()
|
|
Kmods SIG |
8b815c |
|
|
Kmods SIG |
8b815c |
No need for plus sign here. So remove it. Checkpatch will also be happy.
|
|
Kmods SIG |
8b815c |
|
|
Kmods SIG |
8b815c |
Signed-off-by: Kari Argillander <kari.argillander@gmail.com>
|
|
Kmods SIG |
8b815c |
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
|
|
Kmods SIG |
8b815c |
---
|
|
Kmods SIG |
8b815c |
src/frecord.c | 2 +-
|
|
Kmods SIG |
8b815c |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Kmods SIG |
8b815c |
|
|
Kmods SIG |
8b815c |
diff --git a/src/frecord.c b/src/frecord.c
|
|
Kmods SIG |
8b815c |
index 080264ced9090a61825dbe00d96458c76538468b..df41eae8f7e1bf94800e6cb2b85de28ef992d6ee 100644
|
|
Kmods SIG |
8b815c |
--- a/src/frecord.c
|
|
Kmods SIG |
8b815c |
+++ b/src/frecord.c
|
|
Kmods SIG |
8b815c |
@@ -1448,7 +1448,7 @@ int ni_insert_resident(struct ntfs_inode *ni, u32 data_size,
|
|
Kmods SIG |
8b815c |
attr->res.flags = RESIDENT_FLAG_INDEXED;
|
|
Kmods SIG |
8b815c |
|
|
Kmods SIG |
8b815c |
/* is_attr_indexed(attr)) == true */
|
|
Kmods SIG |
8b815c |
- le16_add_cpu(&ni->mi.mrec->hard_links, +1);
|
|
Kmods SIG |
8b815c |
+ le16_add_cpu(&ni->mi.mrec->hard_links, 1);
|
|
Kmods SIG |
8b815c |
ni->mi.dirty = true;
|
|
Kmods SIG |
8b815c |
}
|
|
Kmods SIG |
8b815c |
attr->res.res = 0;
|
|
Kmods SIG |
8b815c |
--
|
|
Kmods SIG |
8b815c |
2.31.1
|
|
Kmods SIG |
8b815c |
|