ubifs: Constify struct ubifs_lprops in scan_for_leb_for_idx
authorJiang Biao <jiang.biao2@zte.com.cn>
Wed, 28 Feb 2018 02:13:57 +0000 (10:13 +0800)
committerRichard 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

index 2dcf3d473fec1d406bf0fc2d14d73828ff81f662..9571616b5ddaf1dbee1286dcbc0870b1df11d9b8 100644 (file)
@@ -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;