mirror of
https://github.com/schoebel/mars
synced 2025-04-11 03:51:40 +00:00
infra: regularly prune the /mars dentry cache
This commit is contained in:
parent
21628113d3
commit
5b41b2fb84
@ -550,6 +550,7 @@ void mars_sync(void)
|
||||
struct super_block *sb = inode->i_sb;
|
||||
down_read(&sb->s_umount);
|
||||
sync_filesystem(sb);
|
||||
shrink_dcache_sb(sb);
|
||||
up_read(&sb->s_umount);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user