ksmbd: remove duplicate SMB2 Oplock levels definitions
smb/common already have SMB2 Oplock levels definitions, remove duplicate definitions in server. Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn> Acked-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
parent
0c38364824
commit
ac5399d486
1 changed files with 0 additions and 7 deletions
|
@ -11,13 +11,6 @@
|
||||||
|
|
||||||
#define OPLOCK_WAIT_TIME (35 * HZ)
|
#define OPLOCK_WAIT_TIME (35 * HZ)
|
||||||
|
|
||||||
/* SMB2 Oplock levels */
|
|
||||||
#define SMB2_OPLOCK_LEVEL_NONE 0x00
|
|
||||||
#define SMB2_OPLOCK_LEVEL_II 0x01
|
|
||||||
#define SMB2_OPLOCK_LEVEL_EXCLUSIVE 0x08
|
|
||||||
#define SMB2_OPLOCK_LEVEL_BATCH 0x09
|
|
||||||
#define SMB2_OPLOCK_LEVEL_LEASE 0xFF
|
|
||||||
|
|
||||||
/* Oplock states */
|
/* Oplock states */
|
||||||
#define OPLOCK_STATE_NONE 0x00
|
#define OPLOCK_STATE_NONE 0x00
|
||||||
#define OPLOCK_ACK_WAIT 0x01
|
#define OPLOCK_ACK_WAIT 0x01
|
||||||
|
|
Loading…
Reference in a new issue