[Ocfs2-devel] [PATCH] ocfs2: alloc orphaned inode in ocfs2_symlink
Joel Becker
Joel.Becker at oracle.com
Thu Apr 8 14:12:22 PDT 2010
On Thu, Apr 08, 2010 at 09:13:08AM +0800, Li Dongyang wrote:
> alloc the inode orphaned in ocfs2_symlink so we can delete the inode
> in the iput if we meet errors with the inode, e.g. ocfs2_add_inode_data.
> or ocfs2_query_inode_wipe will complain the inode is not orphaned on disk.
Huh. At first I was sure this was ok, as the iput is sanely
killing the inode. But you're right, the wipe code expects it to be
orphaned.
Do you have a testcase for this?
Joel
--
Life's Little Instruction Book #497
"Go down swinging."
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
More information about the Ocfs2-devel
mailing list