Whamcloud - gitweb
LU-6142 llite: remove ll_umounting field 85/35885/3
authorMr NeilBrown <neilb@suse.com>
Thu, 22 Aug 2019 05:33:59 +0000 (15:33 +1000)
committerOleg Drokin <green@whamcloud.com>
Mon, 16 Sep 2019 23:02:00 +0000 (23:02 +0000)
This field is set but never accessed, so remove it.

Test-Parameters: trivial
Signed-off-by: Mr NeilBrown <neilb@suse.com>
Change-Id: I27d8388b73fea3821ff2ecfd85b28c3cdd13193f
Reviewed-on: https://review.whamcloud.com/35885
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.super@gmail.com>
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c

index df6a00c..a96fde9 100644 (file)
@@ -539,8 +539,7 @@ struct ll_sb_info {
        struct lu_fid            ll_root_fid; /* root object fid */
 
         int                       ll_flags;
        struct lu_fid            ll_root_fid; /* root object fid */
 
         int                       ll_flags;
-       unsigned int              ll_umounting:1,
-                                 ll_xattr_cache_enabled:1,
+       unsigned int              ll_xattr_cache_enabled:1,
                                  ll_xattr_cache_set:1, /* already set to 0/1 */
                                  ll_client_common_fill_super_succeeded:1,
                                  ll_checksum_set:1;
                                  ll_xattr_cache_set:1, /* already set to 0/1 */
                                  ll_client_common_fill_super_succeeded:1,
                                  ll_checksum_set:1;
index 26cc9e0..b29d215 100644 (file)
@@ -804,7 +804,6 @@ void ll_kill_super(struct super_block *sb)
         * put_super not affected real removing devices */
        if (sbi) {
                sb->s_dev = sbi->ll_sdev_orig;
         * put_super not affected real removing devices */
        if (sbi) {
                sb->s_dev = sbi->ll_sdev_orig;
-               sbi->ll_umounting = 1;
 
                /* wait running statahead threads to quit */
                while (atomic_read(&sbi->ll_sa_running) > 0) {
 
                /* wait running statahead threads to quit */
                while (atomic_read(&sbi->ll_sa_running) > 0) {