From: Theodore Ts'o Date: Sat, 14 Nov 2009 13:19:05 +0000 (-0500) Subject: ext4: plug a buffer_head leak in an error path of ext4_iget() X-Git-Tag: v2.6.33-rc1~330^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=567f3e9a70d71e5c9be03701b8578be77857293b;p=pandora-kernel.git ext4: plug a buffer_head leak in an error path of ext4_iget() One of the invalid error paths in ext4_iget() forgot to brelse() the inode buffer head. Fix it by adding a brelse() in the common error return path, which also simplifies function. Thanks to Andi Kleen reporting the problem. Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed