From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexey Dobriyan Subject: [PATCH 4/9] const: mark remaining export_operations const Date: Thu, 10 Sep 2009 03:18:51 +0400 Message-ID: <20090909231851.GD2881@x200.localdomain> References: <20090909231518.GA2881@x200.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org To: akpm@linux-foundation.org, viro@zeniv.linux.org.uk Return-path: Received: from mail-ew0-f206.google.com ([209.85.219.206]:62591 "EHLO mail-ew0-f206.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752690AbZIIXSu (ORCPT ); Wed, 9 Sep 2009 19:18:50 -0400 Received: by ewy2 with SMTP id 2so4193905ewy.17 for ; Wed, 09 Sep 2009 16:18:53 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20090909231518.GA2881@x200.localdomain> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Signed-off-by: Alexey Dobriyan --- fs/jffs2/super.c | 2 +- fs/nilfs2/super.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/fs/jffs2/super.c +++ b/fs/jffs2/super.c @@ -123,7 +123,7 @@ static struct dentry *jffs2_get_parent(struct dentry *child) return d_obtain_alias(jffs2_iget(child->d_inode->i_sb, pino)); } -static struct export_operations jffs2_export_ops = { +static const struct export_operations jffs2_export_ops = { .get_parent = jffs2_get_parent, .fh_to_dentry = jffs2_fh_to_dentry, .fh_to_parent = jffs2_fh_to_parent, --- a/fs/nilfs2/super.c +++ b/fs/nilfs2/super.c @@ -585,7 +585,7 @@ nilfs_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, nilfs_nfs_get_inode); } -static struct export_operations nilfs_export_ops = { +static const struct export_operations nilfs_export_ops = { .fh_to_dentry = nilfs_fh_to_dentry, .fh_to_parent = nilfs_fh_to_parent, .get_parent = nilfs_get_parent,