| To: | Eric Sandeen <sandeen@xxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 4/5] xfs_repair: don't ASSERT on corrupt ftype |
| From: | Dave Chinner <david@xxxxxxxxxxxxx> |
| Date: | Mon, 8 Sep 2014 13:16:44 +1000 |
| Cc: | Eric Sandeen <sandeen@xxxxxxxxxx>, xfs@xxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <540D001C.6020607@xxxxxxxxxxx> |
| References: | <1410108065-18156-1-git-send-email-sandeen@xxxxxxxxxx> <1410108065-18156-5-git-send-email-sandeen@xxxxxxxxxx> <20140908001044.GB30012@dastard> <540D001C.6020607@xxxxxxxxxxx> |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
On Sun, Sep 07, 2014 at 08:02:20PM -0500, Eric Sandeen wrote:
> 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.
Because kernel has changed, and we need to do yet another large
kernel/user libxfs sync.
I haven't found time to do that yet. Unless you want to volunteer
for it....
Cheers,
Dave.
--
Dave Chinner
david@xxxxxxxxxxxxx
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] xfs: don't ASSERT on corrupt ftype, Eric Sandeen |
|---|---|
| Next by Date: | Re: [PATCH 4/5] xfs_repair: don't ASSERT on corrupt ftype, Eric Sandeen |
| Previous by Thread: | Re: [PATCH 4/5] xfs_repair: don't ASSERT on corrupt ftype, Eric Sandeen |
| Next by Thread: | Re: [PATCH 4/5] xfs_repair: don't ASSERT on corrupt ftype, Eric Sandeen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |