ext4: clean up error handling in the MMP support
authorvikram.jadhav07 <vikramjadhavpucsd2007@gmail.com>
Sun, 13 Mar 2016 21:56:52 +0000 (17:56 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 13 Mar 2016 21:56:52 +0000 (17:56 -0400)
commit0304688676bdfc8159e165313d71da19c118ba27
tree029ff2743a674d77d37e2c27d1c651b72fb4500e
parent490c1b444ce653d0784a9a5fa4d11287029feeb9
ext4: clean up error handling in the MMP support

There is memory leak as both caller function kmmpd() and callee
read_mmp_block() not releasing bh_check  (i.e buffer_head).
Given patch fixes this problem.

[ Additional changes suggested by Andreas Dilger -- TYT ]

Signed-off-by: Jadhav Vikram <vikramjadhavpucsd2007@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/mmp.c
This page took 0.024195 seconds and 5 git commands to generate.