summaryrefslogtreecommitdiffstats
path: root/fs/ksmbd
diff options
context:
space:
mode:
authorMarios Makassikis <mmakassikis@freebox.fr>2021-12-01 21:40:50 +0100
committerSteve French <stfrench@microsoft.com>2021-12-28 22:47:22 -0600
commit305f8bda15ebbe4004681286a5c67d0dc296c771 (patch)
treee6628d8a1e248b51ef327d0515f95f7547897621 /fs/ksmbd
parent80917f17e3f99027661a45262c310139e53a9faa (diff)
downloadlinux-stable-305f8bda15ebbe4004681286a5c67d0dc296c771.tar.gz
linux-stable-305f8bda15ebbe4004681286a5c67d0dc296c771.tar.bz2
linux-stable-305f8bda15ebbe4004681286a5c67d0dc296c771.zip
ksmbd: Remove unused fields from ksmbd_file struct definition
These fields are remnants of the not upstreamed SMB1 code. Acked-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Marios Makassikis <mmakassikis@freebox.fr> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/ksmbd')
-rw-r--r--fs/ksmbd/vfs_cache.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/fs/ksmbd/vfs_cache.h b/fs/ksmbd/vfs_cache.h
index 448576fbe4b7..36239ce31afd 100644
--- a/fs/ksmbd/vfs_cache.h
+++ b/fs/ksmbd/vfs_cache.h
@@ -96,16 +96,6 @@ struct ksmbd_file {
int durable_timeout;
- /* for SMB1 */
- int pid;
-
- /* conflict lock fail count for SMB1 */
- unsigned int cflock_cnt;
- /* last lock failure start offset for SMB1 */
- unsigned long long llock_fstart;
-
- int dirent_offset;
-
/* if ls is happening on directory, below is valid*/
struct ksmbd_readdir_data readdir_data;
int dot_dotdot[2];