From: Theodore Ts'o Date: Sat, 9 Feb 2013 21:27:09 +0000 (-0500) Subject: ext4: start handle at the last possible moment when creating inodes X-Git-Tag: v3.9-rc1~64^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1139575a927010390c6b38e4215a6d741b056074;p=pandora-kernel.git ext4: start handle at the last possible moment when creating inodes In ext4_{create,mknod,mkdir,symlink}(), don't start the journal handle until the inode has been succesfully allocated. In order to do this, we need to start the handle in the ext4_new_inode(). So create a new variant of this function, ext4_new_inode_start_handle(), so the handle can be created at the last possible minute, before we need to modify the inode allocation bitmap block. Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed