| Submitter | Artem Bityutskiy |
|---|---|
| Date | Aug. 7, 2010, 8:26 a.m. |
| Message ID | <1281169577-18664-4-git-send-email-dedekind1@gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/61165/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/fs/ubifs/gc.c b/fs/ubifs/gc.c index 29ce1b3..d060c62 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) if (typeb == UBIFS_INO_KEY) return 1; - ubifs_assert(typea == UBIFS_DENT_KEY && typeb == UBIFS_DENT_KEY); + ubifs_assert(typea == UBIFS_DENT_KEY || typea == UBIFS_XENT_KEY); + ubifs_assert(typeb == UBIFS_DENT_KEY || typeb == UBIFS_XENT_KEY); inuma = key_inum(c, &sa->key); inumb = key_inum(c, &sb->key);