From: David Woodhouse Date: Mon, 7 May 2007 23:12:58 +0000 (+0100) Subject: [JFFS2] Fix potential memory leak of dead xattrs on unmount. X-Git-Tag: v2.6.22-rc4~1^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ad8ee713566671875216ebcec64f2eda47bd19d;p=pandora-kernel.git [JFFS2] Fix potential memory leak of dead xattrs on unmount. An xattr_datum which ends up orphaned should be freed by the GC thread. But if we umount before the GC thread is finished, or if we mount read-only and the GC thread never runs, they might never be freed. Clean them up during unmount, if there are any left. Signed-off-by: David Woodhouse --- Reading git-diff-tree failed