ocfs2: use OCFS2_INODE_SKIP_ORPHAN_DIR in ocfs2_mknod error path
authorLi Dongyang <lidongyang@novell.com>
Thu, 22 Apr 2010 08:11:29 +0000 (16:11 +0800)
committerMark Fasheh <mfasheh@suse.com>
Fri, 23 Apr 2010 18:05:00 +0000 (11:05 -0700)
commit062d340384dcf77dfd8de0a082b5da571de3925a
tree875a86d75ff363fbebdb09cff12933bb23525077
parentab41fdc8fdd9f0942430941c1e2b516fd481371d
ocfs2: use OCFS2_INODE_SKIP_ORPHAN_DIR in ocfs2_mknod error path

Mark the inode with flag OCFS2_INODE_SKIP_ORPHAN_DIR in ocfs2_mknod, so we
can kill the inode in case of error.

[ Fixed up comment style -Mark ]

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