]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit59a1878f1d590a63e128e817d13031db9b488512
tree60b204901afb6393ace94bd5c8d39246d0a87383
parent5114bcba9a610e3a1a4a10d8bcb979e9a93350d4
ext4: remove blocks from inode prealloc list on failure

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>
fs/ext4/mballoc.c