ext4: do not reference pa_inode from group_pa
authorYongqiang Yang <xiaoqiangnk@gmail.com>
Sun, 18 Dec 2011 20:49:54 +0000 (15:49 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 18 Dec 2011 20:49:54 +0000 (15:49 -0500)
commit60e07cf515e541ea3e13b888d273c9b19a2ad9dd
treed9c2b3a1f4e306cbdb199c4cae9fd3ed03a528b6
parent384703b8e6cd4c8ef08512e596024e028c91c339
ext4: do not reference pa_inode from group_pa

pa_inode in group_pa is set NULL in ext4_mb_new_group_pa, so
pa_inode should be not referenced.

Reported-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/mballoc.c
include/trace/events/ext4.h