From patchwork Sun Jun 4 23:31:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Theodore Ts'o X-Patchwork-Id: 771055 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3wgvPR5ZWlz9s3T for ; Mon, 5 Jun 2017 09:32:27 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=thunk.org header.i=@thunk.org header.b="ggX5rU2T"; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751178AbdFDXcD (ORCPT ); Sun, 4 Jun 2017 19:32:03 -0400 Received: from imap.thunk.org ([74.207.234.97]:42512 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751147AbdFDXcD (ORCPT ); Sun, 4 Jun 2017 19:32:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=thunk.org; s=ef5046eb; h=Message-Id:Date:Subject:Cc:To:From; bh=hfHOxLQSjpRJXhNSpxCUerHydipf38eFBPWU+8noZg4=; b=ggX5rU2TE1Q+QVvjIUlnavVqbfL/buZRmL6iM80PfJCVXKEdrzjyYeUm2rwg+ZamBJ6zaAAqITiEpmRs8ipRgFA3ObgN9x+uK8SLUyc11cs/4BqP501XjNOB1k5nKqVYBPE/IHJ0E0SERiQWEzTrM9+u2USSiimFdRO7e44EN9E=; Received: from root (helo=callcc.thunk.org) by imap.thunk.org with local-esmtp (Exim 4.84_2) (envelope-from ) id 1dHf06-0003SP-B8; Sun, 04 Jun 2017 23:32:02 +0000 Received: by callcc.thunk.org (Postfix, from userid 15806) id 8D2C2C00F21; Sun, 4 Jun 2017 19:32:01 -0400 (EDT) From: Theodore Ts'o To: Ext4 Developers List Cc: Theodore Ts'o Subject: [PATCH] libext2fs: fix build warning on Big Endian systems in closefs.c Date: Sun, 4 Jun 2017 19:31:59 -0400 Message-Id: <20170604233159.28890-1-tytso@mit.edu> X-Mailer: git-send-email 2.11.0.rc0.7.gbe5a750 X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Signed-off-by: Theodore Ts'o --- lib/ext2fs/closefs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ext2fs/closefs.c b/lib/ext2fs/closefs.c index 76444c05..1d4d5b7f 100644 --- a/lib/ext2fs/closefs.c +++ b/lib/ext2fs/closefs.c @@ -282,7 +282,7 @@ errcode_t ext2fs_flush2(ext2_filsys fs, int flags) unsigned long fs_state; __u32 feature_incompat; struct ext2_super_block *super_shadow = 0; - struct ext2_group_desc *group_shadow = 0; + struct opaque_ext2_group_desc *group_shadow = 0; #ifdef WORDS_BIGENDIAN struct ext2_group_desc *gdp; dgrp_t j; @@ -343,7 +343,7 @@ errcode_t ext2fs_flush2(ext2_filsys fs, int flags) } #else super_shadow = fs->super; - group_shadow = ext2fs_group_desc(fs, fs->group_desc, 0); + group_shadow = fs->group_desc; #endif /*