diff options
author | Namjae Jeon | 2021-06-30 09:37:09 +0900 |
---|---|---|
committer | Namjae Jeon | 2021-06-30 14:43:51 +0900 |
commit | 0ae941ef2e481e478a4b6c52a16e73c7bb4b9e3e (patch) | |
tree | 90bd8de038f1153e52faf4bdc8c87681fc4721e5 /fs/ksmbd/oplock.c | |
parent | 849fbc549d4cca576d659d7df139c5f04104cb48 (diff) |
ksmbd: remove SMB1 oplock level macros
ksmbd does not support SMB1. This patch remove SMB1 oplock level macros.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/ksmbd/oplock.c')
-rw-r--r-- | fs/ksmbd/oplock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ksmbd/oplock.c b/fs/ksmbd/oplock.c index 43c8b7ce6095..a9f171ccf770 100644 --- a/fs/ksmbd/oplock.c +++ b/fs/ksmbd/oplock.c @@ -39,7 +39,7 @@ static struct oplock_info *alloc_opinfo(struct ksmbd_work *work, opinfo->sess = sess; opinfo->conn = sess->conn; - opinfo->level = OPLOCK_NONE; + opinfo->level = SMB2_OPLOCK_LEVEL_NONE; opinfo->op_state = OPLOCK_STATE_NONE; opinfo->pending_break = 0; opinfo->fid = id; |