diff options
author | David Woodhouse <dwmw2@infradead.org> | 2008-05-01 15:59:24 (GMT) |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2008-05-01 16:24:28 (GMT) |
commit | 1b690b48786229571e590dd22fe01ecc22a8746b (patch) | |
tree | 6843a20b0d898f9c39ba4480a9ee58b32eb0e467 /fs/jffs2/gc.c | |
parent | 590fe34c47cb5c2d836ac76fabc5f160bf31a3f1 (diff) | |
download | linux-fsl-qoriq-1b690b48786229571e590dd22fe01ecc22a8746b.tar.xz |
[JFFS2] Invert last argument of jffs2_gc_fetch_inode(), make it boolean.
We don't actually care about nlink; we only care whether the inode in
question is unlinked or not.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'fs/jffs2/gc.c')
-rw-r--r-- | fs/jffs2/gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jffs2/gc.c b/fs/jffs2/gc.c index bad0056..d4db0ef 100644 --- a/fs/jffs2/gc.c +++ b/fs/jffs2/gc.c @@ -401,7 +401,7 @@ int jffs2_garbage_collect_pass(struct jffs2_sb_info *c) nlink = ic->nlink; spin_unlock(&c->inocache_lock); - f = jffs2_gc_fetch_inode(c, inum, nlink); + f = jffs2_gc_fetch_inode(c, inum, !nlink); if (IS_ERR(f)) { ret = PTR_ERR(f); goto release_sem; |