]> err.no Git - linux-2.6/blobdiff - fs/jffs2/xattr.c
Merge git://git.infradead.org/mtd-2.6
[linux-2.6] / fs / jffs2 / xattr.c
index 073469856d4e0b3c3ed3619d002cfe4cdb0140c2..e48665984cb3393d1f859e27db42ba29a6937345 100644 (file)
@@ -754,6 +754,10 @@ void jffs2_clear_xattr_subsystem(struct jffs2_sb_info *c)
                list_del(&xd->xindex);
                jffs2_free_xattr_datum(xd);
        }
+       list_for_each_entry_safe(xd, _xd, &c->xattr_unchecked, xindex) {
+               list_del(&xd->xindex);
+               jffs2_free_xattr_datum(xd);
+       }
 }
 
 #define XREF_TMPHASH_SIZE      (128)