From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111]) by oss.sgi.com (Postfix) with ESMTP id 92C9A7F4E for ; Sun, 7 Sep 2014 20:02:26 -0500 (CDT) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by relay1.corp.sgi.com (Postfix) with ESMTP id 72EAC8F8033 for ; Sun, 7 Sep 2014 18:02:23 -0700 (PDT) Received: from sandeen.net (sandeen.net [63.231.237.45]) by cuda.sgi.com with ESMTP id 9DkY5ZU4V97taWjI for ; Sun, 07 Sep 2014 18:02:21 -0700 (PDT) Message-ID: <540D001C.6020607@sandeen.net> Date: Sun, 07 Sep 2014 20:02:20 -0500 From: Eric Sandeen MIME-Version: 1.0 Subject: Re: [PATCH 4/5] xfs_repair: don't ASSERT on corrupt ftype References: <1410108065-18156-1-git-send-email-sandeen@redhat.com> <1410108065-18156-5-git-send-email-sandeen@redhat.com> <20140908001044.GB30012@dastard> In-Reply-To: <20140908001044.GB30012@dastard> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: Dave Chinner , Eric Sandeen Cc: xfs@oss.sgi.com On 9/7/14 7:10 PM, Dave Chinner wrote: > On Sun, Sep 07, 2014 at 11:41:04AM -0500, Eric Sandeen wrote: ... >> diff --git a/include/xfs_da_format.h b/include/xfs_da_format.h >> index 89a1a21..11f1420 100644 >> --- a/include/xfs_da_format.h >> +++ b/include/xfs_da_format.h >> @@ -561,7 +561,6 @@ xfs_dir3_dirent_get_ftype( >> if (xfs_sb_version_hasftype(&mp->m_sb)) { >> __uint8_t type = dep->name[dep->namelen]; >> >> - ASSERT(type < XFS_DIR3_FT_MAX); >> if (type < XFS_DIR3_FT_MAX) >> return type; > > Needs to be fixed kernel-side first. xfs_dir3_dirent_get_ftype doesn't exist in kernelspace :) bleah, why do they have different names... Ok, will send. -Eric > Cheers, > > Dave. > _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs