Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4551
b: refs/heads/master
c: a69dde9
h: refs/heads/master
i:
  4549: c5dc374
  4547: 87cd2d0
  4543: 3248091
v: v3
  • Loading branch information
Artem B. Bityuckiy authored and Thomas Gleixner committed May 23, 2005
1 parent e9f51f9 commit f336c94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4132ace8d6f1b57839048548a17a0265f889aa3e
refs/heads/master: a69dde91e8940b49bdc9920dd65ec02c6a51f85c
6 changes: 3 additions & 3 deletions trunk/fs/jffs2/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* For licensing information, see the file 'LICENCE' in this directory.
*
* $Id: super.c,v 1.105 2005/02/09 09:23:54 pavlov Exp $
* $Id: super.c,v 1.106 2005/05/18 11:37:25 dedekind Exp $
*
*/

Expand Down Expand Up @@ -270,8 +270,6 @@ static void jffs2_put_super (struct super_block *sb)

D2(printk(KERN_DEBUG "jffs2: jffs2_put_super()\n"));

if (!(sb->s_flags & MS_RDONLY))
jffs2_stop_garbage_collect_thread(c);
down(&c->alloc_sem);
jffs2_flush_wbuf_pad(c);
up(&c->alloc_sem);
Expand All @@ -292,6 +290,8 @@ static void jffs2_put_super (struct super_block *sb)
static void jffs2_kill_sb(struct super_block *sb)
{
struct jffs2_sb_info *c = JFFS2_SB_INFO(sb);
if (!(sb->s_flags & MS_RDONLY))
jffs2_stop_garbage_collect_thread(c);
generic_shutdown_super(sb);
put_mtd_device(c->mtd);
kfree(c);
Expand Down

0 comments on commit f336c94

Please sign in to comment.