From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751358AbdH1RrX (ORCPT ); Mon, 28 Aug 2017 13:47:23 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:37258 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751161AbdH1RrV (ORCPT ); Mon, 28 Aug 2017 13:47:21 -0400 From: Bhumika Goyal To: julia.lawall@lip6.fr, dhowells@redhat.com, linux-cachefs@redhat.com, linux-kernel@vger.kernel.org Cc: Bhumika Goyal Subject: [PATCH] FS-Cache: make fscache_fsdef_index_def const Date: Mon, 28 Aug 2017 23:17:11 +0530 Message-Id: <1503942431-2767-1-git-send-email-bhumirks@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Make this const as it is only stored in the const field of a fscache_cookie structure. Signed-off-by: Bhumika Goyal --- fs/fscache/fsdef.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/fscache/fsdef.c b/fs/fscache/fsdef.c index 5a117df..f867328 100644 --- a/fs/fscache/fsdef.c +++ b/fs/fscache/fsdef.c @@ -48,7 +48,7 @@ enum fscache_checkaux fscache_fsdef_netfs_check_aux(void *cookie_netfs_data, * cache. It can create whatever objects it likes in that index, including * further indices. */ -static struct fscache_cookie_def fscache_fsdef_index_def = { +static const struct fscache_cookie_def fscache_fsdef_index_def = { .name = ".FS-Cache", .type = FSCACHE_COOKIE_TYPE_INDEX, }; -- 1.9.1