Skip to content
Commit 2ad8ee71 authored by David Woodhouse's avatar David Woodhouse
Browse files

[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: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 8ae5d312
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment