ext4: remove blocks from inode prealloc list on failure
authorCurt Wohlgemuth <curtw@google.com>
Wed, 9 Dec 2009 03:18:25 +0000 (22:18 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 9 Dec 2009 03:18:25 +0000 (22:18 -0500)
This fixes a leak of blocks in an inode prealloc list if device failures
cause ext4_mb_mark_diskspace_used() to fail.

Signed-off-by: Curt Wohlgemuth <curtw@google.com>
Acked-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>

No differences found