projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae4c808
)
ubifs: Constify struct ubifs_lprops in scan_for_leb_for_idx
author
Jiang Biao
<jiang.biao2@zte.com.cn>
Wed, 28 Feb 2018 02:13:57 +0000
(10:13 +0800)
committer
Richard Weinberger
<richard@nod.at>
Wed, 4 Apr 2018 21:48:10 +0000
(23:48 +0200)
Constify struct ubifs_lprops in scan_for_leb_for_idx to be
consistent with other references.
Signed-off-by: Jiang Biao <jiang.biao2@zte.com.cn>
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/find.c
patch
|
blob
|
history
diff --git
a/fs/ubifs/find.c
b/fs/ubifs/find.c
index 2dcf3d473fec1d406bf0fc2d14d73828ff81f662..9571616b5ddaf1dbee1286dcbc0870b1df11d9b8 100644
(file)
--- a/
fs/ubifs/find.c
+++ b/
fs/ubifs/find.c
@@
-632,7
+632,7
@@
static int scan_for_idx_cb(struct ubifs_info *c,
*/
static const struct ubifs_lprops *scan_for_leb_for_idx(struct ubifs_info *c)
{
- struct ubifs_lprops *lprops;
+
const
struct ubifs_lprops *lprops;
struct scan_data data;
int err;