diff options
author | Brian Norris <computersforpeace@gmail.com> | 2011-06-27 11:27:20 -0700 |
---|---|---|
committer | Artem Bityutskiy <dedekind1@gmail.com> | 2011-06-29 08:42:38 +0300 |
commit | 15f5f89995de6f10a5dc7b30ebf87d856c4e1127 (patch) | |
tree | 8eb845b328f07685164ce8b078cf74851e74fa2e /mkfs.jffs2.c | |
parent | 6977ec0308678514ea4450e25e9d443a787da12e (diff) |
mtd-utils: remove whitespace at end of lines
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Artem Bityutskiy <dedekind1@gmail.com>
Diffstat (limited to 'mkfs.jffs2.c')
-rw-r--r-- | mkfs.jffs2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mkfs.jffs2.c b/mkfs.jffs2.c index 7abaf50..ad88ac6 100644 --- a/mkfs.jffs2.c +++ b/mkfs.jffs2.c @@ -123,11 +123,11 @@ uint32_t find_hardlink(struct filesystem_entry *e) f = rb_entry(parent, struct filesystem_entry, hardlink_rb); if ((f->sb.st_dev < e->sb.st_dev) || - (f->sb.st_dev == e->sb.st_dev && + (f->sb.st_dev == e->sb.st_dev && f->sb.st_ino < e->sb.st_ino)) n = &parent->rb_left; else if ((f->sb.st_dev > e->sb.st_dev) || - (f->sb.st_dev == e->sb.st_dev && + (f->sb.st_dev == e->sb.st_dev && f->sb.st_ino > e->sb.st_ino)) { n = &parent->rb_right; } else @@ -264,7 +264,7 @@ static struct filesystem_entry *add_host_filesystem_entry(const char *name, tmp = xstrdup(name); entry->path = xstrdup(dirname(tmp)); free(tmp); - + entry->sb.st_ino = sb.st_ino; entry->sb.st_dev = sb.st_dev; entry->sb.st_nlink = sb.st_nlink; |