]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
NFS: remove unused time_delta field from struct nfs_server
authorAnthony Iliopoulos <ailiop@suse.com>
Fri, 13 Jun 2025 09:44:38 +0000 (11:44 +0200)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 14 Jul 2025 22:20:21 +0000 (15:20 -0700)
The last code that was using this was removed via commit ca0daa277aca
("NFS: Cache aggressively when file is open for writing") which was
merged in v4.8-rc1, so it can be removed completely.

Signed-off-by: Anthony Iliopoulos <ailiop@suse.com>
Link: https://lore.kernel.org/r/20250613094439.82338-3-ailiop@suse.com
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/client.c
include/linux/nfs_fs_sb.h

index 23dafc59047671998e35e28f45268f5d15ff8ebf..47258dc3af70b8f677a77217395d4195492325e1 100644 (file)
@@ -830,7 +830,6 @@ static void nfs_server_set_fsinfo(struct nfs_server *server,
 
        server->maxfilesize = fsinfo->maxfilesize;
 
-       server->time_delta = fsinfo->time_delta;
        server->change_attr_type = fsinfo->change_attr_type;
 
        server->clone_blksize = fsinfo->clone_blksize;
index 7048f9b867ab18c46cb2b67d8270630ade51d539..e1b2cf57e7650a55bd1de1e7ceca5ae153b7e8dd 100644 (file)
@@ -202,7 +202,6 @@ struct nfs_server {
        struct nfs_fsid         fsid;
        int                     s_sysfs_id;     /* sysfs dentry index */
        __u64                   maxfilesize;    /* maximum file size */
-       struct timespec64       time_delta;     /* smallest time granularity */
        unsigned long           mount_time;     /* when this fs was mounted */
        struct super_block      *super;         /* VFS super block */
        dev_t                   s_dev;          /* superblock dev numbers */