diff options
author | Joakim Tjernlund <joakim.tjernlund@transmode.se> | 2010-05-19 20:13:19 +0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-05-19 20:15:36 +0400 |
commit | 64a5c2eb82d2a626116fde8a0ea3bb39a3f4f233 (patch) | |
tree | 2c3df4e9dbee07c56b9edd01a700f1d8a4329d0d /fs/jffs2/os-linux.h | |
parent | ae3b6ba06c8ed399ef920724ee8136e540878294 (diff) | |
download | linux-64a5c2eb82d2a626116fde8a0ea3bb39a3f4f233.tar.xz |
jffs2: Rename jffs2_erase_pending_trigger() to jffs2_dirty_trigger()
Now that we do erases from GC and trigger the GC thread to do them
instead of using kupdated, this function is misnamed. It's only used
for triggering wbuf flush on NAND flash now. Rename it accordingly.
Signed-off-by: Joakim Tjernlund <joakim.tjernlund@transmode.se>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'fs/jffs2/os-linux.h')
-rw-r--r-- | fs/jffs2/os-linux.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/jffs2/os-linux.h b/fs/jffs2/os-linux.h index a7f03b7ebcb3..035a767f958b 100644 --- a/fs/jffs2/os-linux.h +++ b/fs/jffs2/os-linux.h @@ -140,8 +140,7 @@ void jffs2_nor_wbuf_flash_cleanup(struct jffs2_sb_info *c); #endif /* WRITEBUFFER */ -/* erase.c */ -static inline void jffs2_erase_pending_trigger(struct jffs2_sb_info *c) +static inline void jffs2_dirty_trigger(struct jffs2_sb_info *c) { OFNI_BS_2SFFJ(c)->s_dirt = 1; } |