X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fllite%2Fllite_lib.c;h=4649227bd48622e6c1ad436b505f3463e8c0a06e;hb=3edc71803af3b4dc672313cd1ba395de724fbc59;hp=7e67cf51e320ffc1e169592efb46a27af9a25b5a;hpb=ce98bfe5f72657f807201fc7eadae2fee07d7831;p=fs%2Flustre-release.git diff --git a/lustre/llite/llite_lib.c b/lustre/llite/llite_lib.c index 7e67cf5..4649227 100644 --- a/lustre/llite/llite_lib.c +++ b/lustre/llite/llite_lib.c @@ -226,6 +226,8 @@ static struct ll_sb_info *ll_init_sbi(struct lustre_sb_info *lsi) sbi->ll_oc_thrsh_count = SBI_DEFAULT_OPENCACHE_THRESHOLD_COUNT; sbi->ll_oc_max_ms = SBI_DEFAULT_OPENCACHE_THRESHOLD_MAX_MS; sbi->ll_oc_thrsh_ms = SBI_DEFAULT_OPENCACHE_THRESHOLD_MS; + + INIT_LIST_HEAD(&sbi->ll_all_quota_list); RETURN(sbi); out_destroy_ra: if (sbi->ll_foreign_symlink_prefix) @@ -1548,6 +1550,8 @@ void ll_put_super(struct super_block *sb) CDEBUG(D_VFSTRACE, "VFS Op: cfg_instance %s-%016lx (sb %p)\n", profilenm, cfg_instance, sb); + ll_quota_iter_check_and_cleanup(sbi, false); + cfg.cfg_instance = cfg_instance; lustre_end_log(sb, profilenm, &cfg);