diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2005-01-14 23:35:39 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-01-14 23:35:39 -0800 |
commit | 401494b1615efb1922a380226b0bea3eccb22ff3 (patch) | |
tree | 314c3f5263b12b9ab4b37afb6fe9e31be48c1993 /fs/ext3/xattr.c | |
parent | be51a1d918683d3ec3ccdd18ad29637bfa304a23 (diff) | |
download | history-401494b1615efb1922a380226b0bea3eccb22ff3.tar.gz |
[PATCH] ext3/EA: mbcache cleanup
There is no need to export struct mb_cache outside mbcache.c. Move struct
mb_cache to fs/mbcache.c and remove the superfluous struct
mb_cache_entry_index declaration.
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/ext3/xattr.c')
-rw-r--r-- | fs/ext3/xattr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext3/xattr.c b/fs/ext3/xattr.c index 532908a40ad1d8..2fbb2336e7c992 100644 --- a/fs/ext3/xattr.c +++ b/fs/ext3/xattr.c @@ -1080,7 +1080,7 @@ init_ext3_xattr(void) { ext3_xattr_cache = mb_cache_create("ext3_xattr", NULL, sizeof(struct mb_cache_entry) + - sizeof(struct mb_cache_entry_index), 1, 6); + sizeof(((struct mb_cache_entry *) 0)->e_indexes[0]), 1, 6); if (!ext3_xattr_cache) return -ENOMEM; return 0; |