infra: regularly prune the /mars dentry cache

This commit is contained in:
Thomas Schoebel-Theuer 2017-08-24 18:31:56 +02:00
parent 21628113d3
commit 5b41b2fb84

View File

@ -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);
}
}