diff options
author | 2007-05-08 00:12:58 +0100 | |
---|---|---|
committer | 2007-05-20 11:30:38 -0400 | |
commit | 2ad8ee713566671875216ebcec64f2eda47bd19d (patch) | |
tree | b8ad57ea0041b66b68eae2bb089f0c70b13a7ab9 /crypto/algapi.c | |
parent | [JFFS2] Fix BUG() caused by failing to discard xattrs on deleted files. (diff) | |
download | linux-rng-2ad8ee713566671875216ebcec64f2eda47bd19d.tar.xz linux-rng-2ad8ee713566671875216ebcec64f2eda47bd19d.zip |
[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 <dwmw2@infradead.org>
Diffstat (limited to 'crypto/algapi.c')
0 files changed, 0 insertions, 0 deletions