Skip to content

Commit ab0347e

Browse files
ZhangGuoDongsmfrench
authored andcommitted
smb/client: remove DeviceType Flags and Device Characteristics definitions
These definitions are already in common/smb2pdu.h, so remove the duplicated ones from the client. Co-developed-by: ChenXiaoSong <chenxiaosong@kylinos.cn> Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn> Signed-off-by: ZhangGuoDong <zhangguodong@kylinos.cn> Signed-off-by: Steve French <stfrench@microsoft.com>
1 parent 2b6abb8 commit ab0347e

1 file changed

Lines changed: 0 additions & 34 deletions

File tree

fs/smb/client/cifspdu.h

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -2003,40 +2003,6 @@ typedef struct {
20032003

20042004
#define CIFS_POSIX_EXTENSIONS 0x00000010 /* support for new QFSInfo */
20052005

2006-
/* DeviceType Flags */
2007-
#define FILE_DEVICE_CD_ROM 0x00000002
2008-
#define FILE_DEVICE_CD_ROM_FILE_SYSTEM 0x00000003
2009-
#define FILE_DEVICE_DFS 0x00000006
2010-
#define FILE_DEVICE_DISK 0x00000007
2011-
#define FILE_DEVICE_DISK_FILE_SYSTEM 0x00000008
2012-
#define FILE_DEVICE_FILE_SYSTEM 0x00000009
2013-
#define FILE_DEVICE_NAMED_PIPE 0x00000011
2014-
#define FILE_DEVICE_NETWORK 0x00000012
2015-
#define FILE_DEVICE_NETWORK_FILE_SYSTEM 0x00000014
2016-
#define FILE_DEVICE_NULL 0x00000015
2017-
#define FILE_DEVICE_PARALLEL_PORT 0x00000016
2018-
#define FILE_DEVICE_PRINTER 0x00000018
2019-
#define FILE_DEVICE_SERIAL_PORT 0x0000001b
2020-
#define FILE_DEVICE_STREAMS 0x0000001e
2021-
#define FILE_DEVICE_TAPE 0x0000001f
2022-
#define FILE_DEVICE_TAPE_FILE_SYSTEM 0x00000020
2023-
#define FILE_DEVICE_VIRTUAL_DISK 0x00000024
2024-
#define FILE_DEVICE_NETWORK_REDIRECTOR 0x00000028
2025-
2026-
/* Device Characteristics */
2027-
#define FILE_REMOVABLE_MEDIA 0x00000001
2028-
#define FILE_READ_ONLY_DEVICE 0x00000002
2029-
#define FILE_FLOPPY_DISKETTE 0x00000004
2030-
#define FILE_WRITE_ONCE_MEDIA 0x00000008
2031-
#define FILE_REMOTE_DEVICE 0x00000010
2032-
#define FILE_DEVICE_IS_MOUNTED 0x00000020
2033-
#define FILE_VIRTUAL_VOLUME 0x00000040
2034-
#define FILE_DEVICE_SECURE_OPEN 0x00000100
2035-
#define FILE_CHARACTERISTIC_TS_DEVICE 0x00001000
2036-
#define FILE_CHARACTERISTIC_WEBDAV_DEVICE 0x00002000
2037-
#define FILE_PORTABLE_DEVICE 0x00004000
2038-
#define FILE_DEVICE_ALLOW_APPCONTAINER_TRAVERSAL 0x00020000
2039-
20402006
/******************************************************************************/
20412007
/* QueryFileInfo/QueryPathinfo (also for SetPath/SetFile) data buffer formats */
20422008
/******************************************************************************/

0 commit comments

Comments
 (0)