| 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:15:40 +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=8cyeoRF4WJexjSM60km975kz+zZvsHHBQyuNMyj6uQ0=; b=Zj1v9uZ37WWXrkXgIaFjanUiaWb7KoBe3LHYhgSLRedoZXHTcblx9EcfvEq8hzzdNC tkb+uE8lKVlnDkDlJYadGYtbG6K2S2N8XtPDxikH5wFq4gxZdL/OHOElvvby47MBfjwy GbE+al4ioi2BeTb9Gtp0px4EfVu1rj1BuDsj9fWDj/uGEJ6hxMS8YYcQo2z72Q8WioJw Hx9XLi4nhBC/WZbAXJW2eWBpWkt1HwZyBRWdnNGPSUlUx60zn2XIR8qeTt8VRUoHfFkN Y72zMp82FSIEfD9ViZ4OJRFGWDfOkL1mCZsQVdZfGjUv03n86dATjwQhEmeiY7VVGxmc mn0w== |
| In-reply-to: | <CADFMGuK3cPSmqZoMdFSSqOnUz3GLv+c01xXHDhzv9_dfUNUPPA@xxxxxxxxxxxxxx> |
| References: | <516C89DF.4070904@xxxxxxxxxx> <20130416162417.GC13938@destitution> <516D87E3.2010605@xxxxxxxxxx> <CADFMGuLgU2++ym4U9axhevV_L2t-2CMVaDoT5cyQcew2YZMsBA@xxxxxxxxxxxxxx> <CADFMGuK3cPSmqZoMdFSSqOnUz3GLv+c01xXHDhzv9_dfUNUPPA@xxxxxxxxxxxxxx> |
|
Hi Brain, If it is because NULLAGINO is passed in to xfs_inotobp().For example: 1767 while (next_agino != agino) { 1768 /* 1769 * If the last inode wasn't the one pointing to 1770 * us, then release its buffer since we're not 1771 * going to do anything with it. 1772 */ 1773 if (last_ibp != NULL) { 1774 xfs_trans_brelse(tp, last_ibp); 1775 } 1776 next_ino = XFS_AGINO_TO_INO(mp, agno, next_agino); + ASSERT(next_agino != NULLAGINO); + ASSERT(next_agino != 0); 1777 error = xfs_inotobp(mp, tp, next_ino, &last_dip, 1778 &last_ibp, &last_offset, 0); 1779 if (error) { 1780 xfs_warn(mp, 1781 "%s: xfs_inotobp() returned error %d.", 1782 __func__, error); 1783 return error; 1784 } 1785 next_agino = be32_to_cpu(last_dip->di_next_unlinked); - //ASSERT(next_agino != NULLAGINO); - //ASSERT(next_agino != 0); 1788 } Thank you very much. 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, 符永涛 |
| 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, 符永涛 |
| Indexes: | [Date] [Thread] [Top] [All Lists] |