From: T Makphaibulchoke Date: Tue, 18 Mar 2014 23:24:49 +0000 (-0400) Subject: ext4: each filesystem creates and uses its own mb_cache X-Git-Tag: v3.15-rc1~91^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c191f701ce9f9bc604e88a5dc69cd943daa5d3b;p=pandora-kernel.git ext4: each filesystem creates and uses its own mb_cache This patch adds new interfaces to create and destory cache, ext4_xattr_create_cache() and ext4_xattr_destroy_cache(), and remove the cache creation and destory calls from ex4_init_xattr() and ext4_exitxattr() in fs/ext4/xattr.c. fs/ext4/super.c has been changed so that when a filesystem is mounted a cache is allocated and attched to its ext4_sb_info structure. fs/mbcache.c has been changed so that only one slab allocator is allocated and used by all mbcache structures. Signed-off-by: T. Makphaibulchoke --- Reading git-diff-tree failed