diff options
| author | Andrea Arcangeli <andrea@cpushare.com> | 2017-10-10 23:47:52 +0200 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-10-21 00:44:50 +0200 |
| commit | 7f4eab0e0a02c586b53466dc016f1bbd7b17b69e (patch) | |
| tree | 79bad5dfb3859eda1ae2161fced0b8f53382e17f /include/linux/errqueue.h | |
| parent | 13b1124d7e445e76b5cc158f6b11faea07a3bba9 (diff) | |
sdcardfs: fix space leak
Don't keep looked up dentries around because there's no notification
when the lowerfs unlinks an inode, to collect the upper dentry cache so
the lower inode reference can be released and the storage space
released.
This effectively disables the dcache lookups but it should still be much
faster than fuse sdcardfs.
The alternative is to add a notification mechanism to keep two separate
dcache layers in sync which isn't trivial, or stop ever touching the
lower fs and remove that path.replace from VolumeInfo.java.
Change-Id: I211bd676834126f6f65b3d09ebe951d0375d7985
Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
