| To: | Brian Foster <bfoster@xxxxxxxxxx> |
|---|---|
| Subject: | Re: xfs_iunlink_remove: xfs_inotobp() returned error 22 -- debugging |
| From: | 符永涛 <yongtaofu@xxxxxxxxx> |
| Date: | Wed, 17 Apr 2013 11:48:04 +0800 |
| Cc: | Dave Chinner <david@xxxxxxxxxxxxx>, Eric Sandeen <sandeen@xxxxxxxxxxx>, "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx> |
| Delivered-to: | xfs@xxxxxxxxxxx |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=ssxlpHePD5bZnSLgAKUZFnZGaH5UxZgfpKbSrBGUaYU=; b=r7z5aZmh9qYvM6TjNdInvQEOkJ+D5yKkTanTky90mBAMyxEe20c0GXt+7weJvcnjlA 4ZxH1SqwMbEevtbCs/5EyTDHpvR0dSj7HLG6/6igzgEzYBoML/4sUIlZG/0RhSMIVqs2 sppY8A1th53fVA3YQXYgcyhvG8z2lc9jR3KDtyNS1qYf1aMNUUNWF2rekRKhpaIJSeuZ H5zuEQ9APHva+VSvc5NVgSuSiUxm+QBgirvSKQWqI+VqKPr3iof4sd7xXs4D/LR4tX4d bX+VOw1wfaPWIDUsIuFxGgXNGOu9YhWWS3ES5nFINF3OMB7haffQYydIO7kihAzWb2rF 6iog== |
| In-reply-to: | <CADFMGu+XD=-NJm3CAsnKpiMWykPj67t2LHgtxkPpyTpVmG3LDA@xxxxxxxxxxxxxx> |
| References: | <516C89DF.4070904@xxxxxxxxxx> <20130416162417.GC13938@destitution> <516D87E3.2010605@xxxxxxxxxx> <CADFMGuLgU2++ym4U9axhevV_L2t-2CMVaDoT5cyQcew2YZMsBA@xxxxxxxxxxxxxx> <CADFMGuK3cPSmqZoMdFSSqOnUz3GLv+c01xXHDhzv9_dfUNUPPA@xxxxxxxxxxxxxx> <CADFMGu+XD=-NJm3CAsnKpiMWykPj67t2LHgtxkPpyTpVmG3LDA@xxxxxxxxxxxxxx> |
|
Hi Brain, Can I change as following?--- a/xfs_inode.c +++ b/xfs_inode.c @@ -1773,6 +1773,8 @@ xfs_iunlink_remove( if (last_ibp != NULL) { xfs_trans_brelse(tp, last_ibp); } + ASSERT(next_agino != NULLAGINO); + ASSERT(next_agino != 0); next_ino = XFS_AGINO_TO_INO(mp, agno, next_agino); error = xfs_inotobp(mp, tp, next_ino, &last_dip, &last_ibp, &last_offset, 0); @@ -1783,8 +1785,6 @@ xfs_iunlink_remove( return error; } next_agino = be32_to_cpu(last_dip->di_next_unlinked); - ASSERT(next_agino != NULLAGINO); - ASSERT(next_agino != 0); } /* * Now last_ibp points to the buffer previous to us on 2013/4/17 符永涛 <yongtaofu@xxxxxxxxx>
-- 符永涛 |
| Previous by Date: | Re: xfs_iunlink_remove: xfs_inotobp() returned error 22 -- debugging, 符永涛 |
|---|---|
| Next by Date: | Re: xfs_iunlink_remove: xfs_inotobp() returned error 22 -- debugging, Eric Sandeen |
| Previous by Thread: | Re: xfs_iunlink_remove: xfs_inotobp() returned error 22 -- debugging, 符永涛 |
| Next by Thread: | Re: xfs_iunlink_remove: xfs_inotobp() returned error 22 -- debugging, Eric Sandeen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |