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 oopses with doubly mounted snapshots
nilfs2: missing a read lock for segment writer in nilfs_attach_checkpoint()

+3 -1
+2
fs/nilfs2/super.c
··· 416 416 if (unlikely(err)) 417 417 goto failed; 418 418 419 + down_read(&nilfs->ns_segctor_sem); 419 420 err = nilfs_cpfile_get_checkpoint(nilfs->ns_cpfile, cno, 0, &raw_cp, 420 421 &bh_cp); 422 + up_read(&nilfs->ns_segctor_sem); 421 423 if (unlikely(err)) { 422 424 if (err == -ENOENT || err == -EINVAL) { 423 425 printk(KERN_ERR
+1 -1
fs/nilfs2/the_nilfs.h
··· 253 253 254 254 static inline void nilfs_put_sbinfo(struct nilfs_sb_info *sbi) 255 255 { 256 - if (!atomic_dec_and_test(&sbi->s_count)) 256 + if (atomic_dec_and_test(&sbi->s_count)) 257 257 kfree(sbi); 258 258 } 259 259