ocfs2: use OCFS2_INODE_SKIP_ORPHAN_DIR in ocfs2_symlink error path
authorLi Dongyang <lidongyang@novell.com>
Thu, 22 Apr 2010 08:11:25 +0000 (16:11 +0800)
committerMark Fasheh <mfasheh@suse.com>
Fri, 23 Apr 2010 18:05:00 +0000 (11:05 -0700)
Mark the inode with flag OCFS2_INODE_SKIP_ORPHAN_DIR when we get an error
after allocating one, so that we can kill the inode.

Signed-off-by: Li Dongyang <lidongyang@novell.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/namei.c

Simple merge