Ryusuke Konishi f8e6cc013b 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>
2010-07-23 10:02:15 +09:00
..
2010-07-23 10:02:14 +09:00
2010-07-23 10:02:14 +09:00
2009-12-25 13:01:50 +09:00
2010-03-14 10:29:51 +09:00
2010-07-23 10:02:14 +09:00
2010-05-27 22:05:02 -04:00
2010-07-23 10:02:14 +09:00
2009-11-20 10:05:50 +09:00
2009-04-07 08:31:16 -07:00
2010-07-23 10:02:14 +09:00
2010-07-23 10:02:14 +09:00
2009-04-07 08:31:13 -07:00
2009-06-11 21:36:18 -04:00
2010-03-14 10:29:51 +09:00
2010-07-23 10:02:14 +09:00