Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ryusuke/nilfs2

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ryusuke/nilfs2:
nilfs2: fix bh leak in nilfs_cpfile_delete_checkpoints function

+4 -2
+4 -2
fs/nilfs2/cpfile.c
··· 311 311 ret = nilfs_cpfile_get_checkpoint_block(cpfile, cno, 0, &cp_bh); 312 312 if (ret < 0) { 313 313 if (ret != -ENOENT) 314 - goto out_sem; 314 + goto out_header; 315 315 /* skip hole */ 316 316 ret = 0; 317 317 continue; ··· 344 344 continue; 345 345 printk(KERN_ERR "%s: cannot delete block\n", 346 346 __func__); 347 - goto out_sem; 347 + goto out_header; 348 348 } 349 349 } 350 350 ··· 361 361 nilfs_mdt_mark_dirty(cpfile); 362 362 kunmap_atomic(kaddr, KM_USER0); 363 363 } 364 + 365 + out_header: 364 366 brelse(header_bh); 365 367 366 368 out_sem: