diff options
author | Steve French <stfrench@microsoft.com> | 2018-07-30 00:13:39 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2018-08-07 21:15:57 +0200 |
commit | 06188fcf9c068a2a8e82ad1e2510a008373150e2 (patch) | |
tree | d864a74ac14341a54d873ebea41a856188545a13 /fs/cifs/cifsglob.h | |
parent | smb3: don't request leases in symlink creation and query (diff) | |
download | linux-06188fcf9c068a2a8e82ad1e2510a008373150e2.tar.xz linux-06188fcf9c068a2a8e82ad1e2510a008373150e2.zip |
cifs: remove unused stats
These timers were a good idea but weren't used in current code,
and the idea was cifs specific. Future patch will add similar timers
for SMB2/SMB3, but no sense using memory for cifs timers that
aren't used in current code.
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 3ec7e3063865..8826bc0a9b15 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -961,20 +961,6 @@ struct cifs_tcon { atomic_t smb2_com_failed[NUMBER_OF_SMB2_COMMANDS]; } smb2_stats; } stats; -#ifdef CONFIG_CIFS_STATS2 - unsigned long long time_writes; - unsigned long long time_reads; - unsigned long long time_opens; - unsigned long long time_deletes; - unsigned long long time_closes; - unsigned long long time_mkdirs; - unsigned long long time_rmdirs; - unsigned long long time_renames; - unsigned long long time_t2renames; - unsigned long long time_ffirst; - unsigned long long time_fnext; - unsigned long long time_fclose; -#endif /* CONFIG_CIFS_STATS2 */ __u64 bytes_read; __u64 bytes_written; spinlock_t stat_lock; /* protects the two fields above */ |