Skip to content

Commit ac5399d

Browse files
ChenXiaoSongsmfrench
authored andcommitted
ksmbd: remove duplicate SMB2 Oplock levels definitions
smb/common already have SMB2 Oplock levels definitions, remove duplicate definitions in server. Signed-off-by: ChenXiaoSong <[email protected]> Acked-by: Namjae Jeon <[email protected]> Signed-off-by: Steve French <[email protected]>
1 parent 0c38364 commit ac5399d

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

fs/smb/server/oplock.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,6 @@
1111

1212
#define OPLOCK_WAIT_TIME (35 * HZ)
1313

14-
/* SMB2 Oplock levels */
15-
#define SMB2_OPLOCK_LEVEL_NONE 0x00
16-
#define SMB2_OPLOCK_LEVEL_II 0x01
17-
#define SMB2_OPLOCK_LEVEL_EXCLUSIVE 0x08
18-
#define SMB2_OPLOCK_LEVEL_BATCH 0x09
19-
#define SMB2_OPLOCK_LEVEL_LEASE 0xFF
20-
2114
/* Oplock states */
2215
#define OPLOCK_STATE_NONE 0x00
2316
#define OPLOCK_ACK_WAIT 0x01

0 commit comments

Comments
 (0)