diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-07-15 04:39:10 +0200 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-07-23 03:02:15 +0200 |
commit | f8e6cc013b896d75d6ce4ec9e168014af1257fd8 (patch) | |
tree | 799258b2cc52207ab98946f3f8ae3466b1b33352 /fs/nilfs2/btree.c | |
parent | nilfs2: eliminate inline keywords in btree implementation (diff) | |
download | linux-f8e6cc013b896d75d6ce4ec9e168014af1257fd8.tar.xz linux-f8e6cc013b896d75d6ce4ec9e168014af1257fd8.zip |
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>
Diffstat (limited to 'fs/nilfs2/btree.c')
0 files changed, 0 insertions, 0 deletions