From: Jiang Biao Date: Wed, 28 Feb 2018 02:13:57 +0000 (+0800) Subject: ubifs: Constify struct ubifs_lprops in scan_for_leb_for_idx X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=cc1947834827379a5fd66e8b73969fd7eaab4516;p=linux.git 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 Signed-off-by: Richard Weinberger --- diff --git a/fs/ubifs/find.c b/fs/ubifs/find.c index 2dcf3d473fec1..9571616b5ddaf 100644 --- 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;