ocfs2: move new inode allocation out of the transaction
authorTiger Yang <tiger.yang@oracle.com>
Fri, 14 Nov 2008 03:15:44 +0000 (11:15 +0800)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:34:19 +0000 (08:34 -0800)
commitf5d362022a947e84b0a3dd656d09c6b2322e234f
treeeb9772da46c5e2566618414eba11845ed13482dc
parentfecc01126d7a244b7e9b563c80663ffdca35343b
ocfs2: move new inode allocation out of the transaction

Move out inode allocation from ocfs2_mknod_locked() because
vfs_dq_init() must be called outside of a transaction.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Tiger Yang <tiger.yang@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/namei.c