commit | f8e6cc013b896d75d6ce4ec9e168014af1257fd8 | [log] [tgz] |
---|---|---|
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | Thu Jul 15 11:39:10 2010 +0900 |
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | Fri Jul 23 10:02:15 2010 +0900 |
tree | 799258b2cc52207ab98946f3f8ae3466b1b33352 | |
parent | 7c397a81fe90c0445df2873700d14e82cca5fbc8 [diff] |
nilfs2: fix buffer head leak in nilfs_btnode_submit_block nilfs_btnode_submit_block() refers to buffer head just before returning from the function, but it releases the buffer head earlier than that if nilfs_dat_translate() gets an error. This has potential for oops in the erroneous case. This fixes the issue. Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>