summaryrefslogtreecommitdiffstats
path: root/fs/jbd2
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2009-11-14 08:19:05 -0500
committerTheodore Ts'o <tytso@mit.edu>2009-11-14 08:19:05 -0500
commit567f3e9a70d71e5c9be03701b8578be77857293b (patch)
tree1985907b6d9deffc9d38275c000d7f82d158a93f /fs/jbd2
parent92c28159dce22913aef6aa811ce6fb0f7f3790b1 (diff)
downloadop-kernel-dev-567f3e9a70d71e5c9be03701b8578be77857293b.zip
op-kernel-dev-567f3e9a70d71e5c9be03701b8578be77857293b.tar.gz
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 <ak@linux.intel.com> reporting the problem. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/jbd2')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud