commit | 166348dd37a4baacfb6fe495954b56f56b116f0c | [log] [tgz] |
---|---|---|
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | Mon Sep 08 23:08:40 2008 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Sep 08 23:08:40 2008 -0400 |
tree | afb36ca25ec3bdbd4397a5b952bc78be1e5feff9 | |
parent | 68629f29c6764c37ebdceec2f6bbef6637eaf420 [diff] |
ext4: Don't add the inode to journal handle until after the block is allocated Make sure we don't add the inode to the journal handle until after the block allocation, so that a journal commit will not include the inode in case of block allocation failure. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Mingming Cao <cmm@us.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>