summaryrefslogtreecommitdiffstats
path: root/fs/ubifs
diff options
context:
space:
mode:
authorJiang Biao <jiang.biao2@zte.com.cn>2018-02-28 10:13:57 +0800
committerRichard Weinberger <richard@nod.at>2018-04-04 23:48:10 +0200
commitcc1947834827379a5fd66e8b73969fd7eaab4516 (patch)
tree4c0c99b948a99c0d9c50f9a5e2e5ed5a8f836758 /fs/ubifs
parentae4c8081eb77bc82ac5ac8a7d55abea6f98e0209 (diff)
downloadlinux-stable-cc1947834827379a5fd66e8b73969fd7eaab4516.tar.gz
linux-stable-cc1947834827379a5fd66e8b73969fd7eaab4516.tar.bz2
linux-stable-cc1947834827379a5fd66e8b73969fd7eaab4516.zip
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>
Diffstat (limited to 'fs/ubifs')
-rw-r--r--fs/ubifs/find.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/find.c b/fs/ubifs/find.c
index 2dcf3d473fec..9571616b5dda 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;