Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755654Ab3EFTCs (ORCPT ); Mon, 6 May 2013 15:02:48 -0400 Received: from mail-ve0-f173.google.com ([209.85.128.173]:48327 "EHLO mail-ve0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755464Ab3EFTCr (ORCPT ); Mon, 6 May 2013 15:02:47 -0400 MIME-Version: 1.0 In-Reply-To: References: <5187F9F5.7090501@fisher-privat.net> Date: Mon, 6 May 2013 12:02:46 -0700 Message-ID: Subject: Re: VFAT complains that my file system may be corrupted From: Tony Luck To: Oleksij Rempel Cc: OGAWA Hirofumi , Andrew Morton , Linux Kernel Mailing List Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 697 Lines: 19 On Mon, May 6, 2013 at 11:51 AM, Tony Luck wrote: > I guess I can fake them easily (ia64 runs little endian on Linux). Duh. Especially as the only use is line 560-562 in src/boot.c: de.starthi = CT_LE_W(0); de.start = CT_LE_W(0); de.size = CT_LE_L(0); Gotta make sure to use a little endian 0 rather than risk a big-endian one. WTF? Anyhow ... thanks for the pointer. That fixed my filesystem for me. -Tony -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/