Whamcloud - gitweb
LU-6142 llite: remove ft_mtime field 87/35887/3
authorMr NeilBrown <neilb@suse.com>
Thu, 22 Aug 2019 05:36:09 +0000 (15:36 +1000)
committerOleg Drokin <green@whamcloud.com>
Mon, 16 Sep 2019 23:02:10 +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: If6f96e90309235a61c833e262e50b03cf36132b0
Reviewed-on: https://review.whamcloud.com/35887
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@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/vvp_internal.h
lustre/llite/vvp_io.c

index 128e5ac..c960269 100644 (file)
@@ -71,11 +71,6 @@ struct vvp_io {
 
        union {
                struct vvp_fault_io {
-                       /**
-                        * Inode modification time that is checked across DLM
-                        * lock request.
-                        */
-                       time64_t                 ft_mtime;
                        struct vm_area_struct   *ft_vma;
                        /**
                         *  locked page returned from vvp_io
index ead8099..15fcc92 100644 (file)
@@ -288,7 +288,6 @@ static int vvp_io_fault_iter_init(const struct lu_env *env,
        struct inode  *inode = vvp_object_inode(ios->cis_obj);
 
        LASSERT(inode == file_inode(vio->vui_fd->fd_file));
-       vio->u.fault.ft_mtime = inode->i_mtime.tv_sec;
 
        return 0;
 }