summaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/ext4.txt
diff options
context:
space:
mode:
authorTao Ma <boyu.mt@taobao.com>2011-10-06 10:22:28 -0400
committerTheodore Ts'o <tytso@mit.edu>2011-10-06 10:22:28 -0400
commit7aa0baeaba4afc4fbed7aad2812a1116e6b0adcd (patch)
treea7237b599107d0adf137c465734d4b67ad83d6dd /Documentation/filesystems/ext4.txt
parent5356f2615cd558c57a1f7d7528d1ad4de3640d96 (diff)
downloadlinux-7aa0baeaba4afc4fbed7aad2812a1116e6b0adcd.tar.bz2
ext4: Free resources in ext4_mb_init()'s error paths
In commit 79a77c5ac, we move ext4_mb_init_backend after the allocation of s_locality_group to avoid memory leak in error path, but there are still some other error paths in ext4_mb_init that need to do the same work. So this patch adds all the error patch for ext4_mb_init. And all the pointers are reset to NULL in case the caller may double free them. Signed-off-by: Tao Ma <boyu.mt@taobao.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'Documentation/filesystems/ext4.txt')
0 files changed, 0 insertions, 0 deletions