ext4: mark inode dirty after initializing the extent tree
commit8753e88f1b4345677620ec68f847222a6301e2fd
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 30 Apr 2008 02:00:36 +0000 (29 22:00 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 30 Apr 2008 02:00:36 +0000 (29 22:00 -0400)
treecd24e97014f89d9bbd0ea88b65ed59ea9d2e152e
parentef7377289a1510d638004158e43878643bc75dc5
ext4: mark inode dirty after initializing the extent tree

We should mark the inode dirty only after initializing the extent
tree.  Also if we fail during extent initialization we need
to call DQUOT_FREE_INODE.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ialloc.c