Browse Source

ubifs: Constify struct ubifs_lprops in scan_for_leb_for_idx

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>
Jiang Biao 7 years ago
parent
commit
cc19478348
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fs/ubifs/find.c

+ 1 - 1
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;