diff options
author | Artem B. Bityuckiy <dedekind@infradead.org> | 2005-03-18 04:58:09 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | 2005-05-23 06:57:27 -0400 |
commit | 4d9527096e2e5da7bec4b6a276fdb05086b6c395 (patch) | |
tree | 6733cf2c2694a6ae0058c82b4de6e05d279c7bd0 /fs | |
parent | 3c45e00afcaa22c65cfb7f77649591db9e0bec03 (diff) |
[JFFS2] Use function to manipulate superblock dirty flag
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/jffs2/wbuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jffs2/wbuf.c b/fs/jffs2/wbuf.c index 890258505a7f..0a7676819df0 100644 --- a/fs/jffs2/wbuf.c +++ b/fs/jffs2/wbuf.c | |||
@@ -9,7 +9,7 @@ | |||
9 | * | 9 | * |
10 | * For licensing information, see the file 'LICENCE' in this directory. | 10 | * For licensing information, see the file 'LICENCE' in this directory. |
11 | * | 11 | * |
12 | * $Id: wbuf.c,v 1.89 2005/02/09 09:23:54 pavlov Exp $ | 12 | * $Id: wbuf.c,v 1.91 2005/03/18 09:58:06 dedekind Exp $ |
13 | * | 13 | * |
14 | */ | 14 | */ |
15 | 15 | ||
@@ -83,7 +83,7 @@ static void jffs2_wbuf_dirties_inode(struct jffs2_sb_info *c, uint32_t ino) | |||
83 | struct jffs2_inodirty *new; | 83 | struct jffs2_inodirty *new; |
84 | 84 | ||
85 | /* Mark the superblock dirty so that kupdated will flush... */ | 85 | /* Mark the superblock dirty so that kupdated will flush... */ |
86 | OFNI_BS_2SFFJ(c)->s_dirt = 1; | 86 | jffs2_erase_pending_trigger(c); |
87 | 87 | ||
88 | if (jffs2_wbuf_pending_for_ino(c, ino)) | 88 | if (jffs2_wbuf_pending_for_ino(c, ino)) |
89 | return; | 89 | return; |