aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ubifs')
-rw-r--r--fs/ubifs/gc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ubifs/gc.c b/fs/ubifs/gc.c
index ee4b05de4d48..98b2c3c8725a 100644
--- a/fs/ubifs/gc.c
+++ b/fs/ubifs/gc.c
@@ -178,7 +178,8 @@ int nondata_nodes_cmp(void *priv, struct list_head *a, struct list_head *b)
178 if (typeb == UBIFS_INO_KEY) 178 if (typeb == UBIFS_INO_KEY)
179 return 1; 179 return 1;
180 180
181 ubifs_assert(typea == UBIFS_DENT_KEY && typeb == UBIFS_DENT_KEY); 181 ubifs_assert(typea == UBIFS_DENT_KEY || typea == UBIFS_XENT_KEY);
182 ubifs_assert(typeb == UBIFS_DENT_KEY || typeb == UBIFS_XENT_KEY);
182 inuma = key_inum(c, &sa->key); 183 inuma = key_inum(c, &sa->key);
183 inumb = key_inum(c, &sb->key); 184 inumb = key_inum(c, &sb->key);
184 185