[Ocfs2-devel] [PATCH 22/29] ocfs2: Let inode be really deleted when ocfs2_mknod_locked() fails

Mark Fasheh mfasheh at suse.com
Thu Oct 30 16:52:34 PDT 2008


On Sat, Oct 25, 2008 at 12:08:15AM +0200, Jan Kara wrote:
> We forgot to set i_nlink to 0 when returning due to error from ocfs2_mknod_locked()
> and thus inode was not properly released via ocfs2_delete_inode() (e.g. claimed
> space was not released). Fix it.

By the way, does ocfs2_delete_inode() complain when this can't be found in
the orphan dir?
	--Mark

--
Mark Fasheh



More information about the Ocfs2-devel mailing list