From 90cdf9ddf3edeb5f62ddcc1262808ea7fd7ba257 Mon Sep 17 00:00:00 2001 From: Oleg Drokin Date: Tue, 23 Feb 2016 13:26:47 -0500 Subject: [PATCH] LU-7805 llite: Remove unused members of struct ll_sb_info ll_orphan_dentry_list and ll_conn_chain are not used and could be removed. Change-Id: Ibc306b501acb9d541582af82558f6bcfc4582638 Signed-off-by: Oleg Drokin Reviewed-on: http://review.whamcloud.com/18583 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: James Simmons --- lustre/llite/llite_internal.h | 5 ----- lustre/llite/llite_lib.c | 4 ---- 2 files changed, 9 deletions(-) diff --git a/lustre/llite/llite_internal.h b/lustre/llite/llite_internal.h index f93ca61..afed256 100644 --- a/lustre/llite/llite_internal.h +++ b/lustre/llite/llite_internal.h @@ -533,13 +533,8 @@ struct ll_sb_info { ll_xattr_cache_enabled:1, ll_client_common_fill_super_succeeded:1; - /* per-conn chain of SBs */ - struct list_head ll_conn_chain; struct lustre_client_ocd ll_lco; - /*please don't ask -p*/ - struct list_head ll_orphan_dentry_list; - struct lprocfs_stats *ll_stats; /* lprocfs stats counter */ /* Used to track "unstable" pages on a client, and maintain a diff --git a/lustre/llite/llite_lib.c b/lustre/llite/llite_lib.c index c488fc2..d3feef1 100644 --- a/lustre/llite/llite_lib.c +++ b/lustre/llite/llite_lib.c @@ -104,8 +104,6 @@ static struct ll_sb_info *ll_init_sbi(void) sbi->ll_ra_info.ra_max_pages = sbi->ll_ra_info.ra_max_pages_per_file; sbi->ll_ra_info.ra_max_read_ahead_whole_pages = SBI_DEFAULT_READAHEAD_WHOLE_MAX; - INIT_LIST_HEAD(&sbi->ll_conn_chain); - INIT_LIST_HEAD(&sbi->ll_orphan_dentry_list); ll_generate_random_uuid(uuid); class_uuid_unparse(uuid, &sbi->ll_sb_uuid); @@ -745,8 +743,6 @@ static void client_common_put_super(struct super_block *sb) cl_sb_fini(sb); - list_del(&sbi->ll_conn_chain); - obd_fid_fini(sbi->ll_dt_exp->exp_obd); obd_disconnect(sbi->ll_dt_exp); sbi->ll_dt_exp = NULL; -- 1.8.3.1