Skip to content

Commit

Permalink
[JFFS2] Use function to manipulate superblock dirty flag
Browse files Browse the repository at this point in the history
Use the corresponding function to mark Superblock dirty instead
of doing it directly.

Signed-off-by: Artem B. Bityuckiy <dedekind@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Artem B. Bityuckiy authored and Thomas Gleixner committed May 23, 2005
1 parent 3c45e00 commit 4d95270
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/jffs2/wbuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
* For licensing information, see the file 'LICENCE' in this directory.
*
* $Id: wbuf.c,v 1.89 2005/02/09 09:23:54 pavlov Exp $
* $Id: wbuf.c,v 1.91 2005/03/18 09:58:06 dedekind Exp $
*
*/

Expand Down Expand Up @@ -83,7 +83,7 @@ static void jffs2_wbuf_dirties_inode(struct jffs2_sb_info *c, uint32_t ino)
struct jffs2_inodirty *new;

/* Mark the superblock dirty so that kupdated will flush... */
OFNI_BS_2SFFJ(c)->s_dirt = 1;
jffs2_erase_pending_trigger(c);

if (jffs2_wbuf_pending_for_ino(c, ino))
return;
Expand Down

0 comments on commit 4d95270

Please sign in to comment.