From bd9cc49a7a29070b9fbead903ee4925b61e1baee Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Wed, 29 Oct 2014 16:29:53 +1100 Subject: [PATCH] libxfs: use structure initializers for cache_operations This makes it a lot easier for cscope etc. Surely all modern compilers can cope? Signed-off-by: Eric Sandeen Reviewed-by: Brian Foster Signed-off-by: Dave Chinner --- libxfs/rdwr.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libxfs/rdwr.c b/libxfs/rdwr.c index 9ee89d30f..80de6fa17 100644 --- a/libxfs/rdwr.c +++ b/libxfs/rdwr.c @@ -1088,12 +1088,12 @@ libxfs_bcache_overflowed(void) } struct cache_operations libxfs_bcache_operations = { - /* .hash */ libxfs_bhash, - /* .alloc */ libxfs_balloc, - /* .flush */ libxfs_bflush, - /* .relse */ libxfs_brelse, - /* .compare */ libxfs_bcompare, - /* .bulkrelse */libxfs_bulkrelse + .hash = libxfs_bhash, + .alloc = libxfs_balloc, + .flush = libxfs_bflush, + .relse = libxfs_brelse, + .compare = libxfs_bcompare, + .bulkrelse = libxfs_bulkrelse }; -- 2.47.2