diff options
author | 2009-08-19 10:40:24 -0700 | |
---|---|---|
committer | 2009-08-19 10:40:24 -0700 | |
commit | 6c30c53fd5ae6a99a23ad78e90c428d2c8ffb07f (patch) | |
tree | b840fbfc5453d307ff9211f0b0e5015dc9e5a345 /fs/nilfs2/the_nilfs.h | |
parent | AFS: Documentation updates (diff) | |
parent | nilfs2: fix oopses with doubly mounted snapshots (diff) | |
download | linux-dev-6c30c53fd5ae6a99a23ad78e90c428d2c8ffb07f.tar.xz linux-dev-6c30c53fd5ae6a99a23ad78e90c428d2c8ffb07f.zip |
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()
Diffstat (limited to 'fs/nilfs2/the_nilfs.h')
-rw-r--r-- | fs/nilfs2/the_nilfs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nilfs2/the_nilfs.h b/fs/nilfs2/the_nilfs.h index e8adbffc626f..1b9caafb8662 100644 --- a/fs/nilfs2/the_nilfs.h +++ b/fs/nilfs2/the_nilfs.h @@ -253,7 +253,7 @@ nilfs_detach_writer(struct the_nilfs *nilfs, struct nilfs_sb_info *sbi) static inline void nilfs_put_sbinfo(struct nilfs_sb_info *sbi) { - if (!atomic_dec_and_test(&sbi->s_count)) + if (atomic_dec_and_test(&sbi->s_count)) kfree(sbi); } |