summaryrefslogtreecommitdiffstats
path: root/fs/ext4/acl.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2009-06-05 01:00:26 -0400
committerTheodore Ts'o <tytso@mit.edu>2009-06-05 01:00:26 -0400
commit1938a150c25bf7c2c47182e753a1038945b70b0e (patch)
treecab711b2868d719c6f460a75387acf84f6b37576 /fs/ext4/acl.c
parentb31e15527a9bb71b6a11a425d17ce139a62f5af5 (diff)
downloadlinux-1938a150c25bf7c2c47182e753a1038945b70b0e.tar.bz2
ext4: Avoid leaking blocks after a block allocation failure
We should add inode to the orphan list in the same transaction as block allocation. This ensures that if we crash after a failed block allocation and before we do a vmtruncate we don't leak block (ie block marked as used in bitmap but not claimed by the inode). Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> CC: Jan Kara <jack@suse.cz> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/acl.c')
0 files changed, 0 insertions, 0 deletions