fs: Backport - remove NTFS classic
Subsystems (3)
PATCH 1/1 fs: Backport - remove NTFS classic
commit 7ffa8f3d3023 ("fs: Remove NTFS classic")
The replacement, NTFS3, was merged over two years ago. It is now time to remove the original from the tree as it is the last user of several APIs, and it is not worth changing.
compile tested
--- CREDITS | 5 + Documentation/filesystems/ntfs.rst | 466 ------ MAINTAINERS | 9 - fs/Kconfig | 1 - fs/Makefile | 1 - fs/ntfs/Makefile | 15 - fs/ntfs/attrib.h | 102 -- fs/ntfs/bitmap.c | 179 -- fs/ntfs/bitmap.h | 104 -- fs/ntfs/collate.c | 110 -- fs/ntfs/collate.h | 36 - fs/ntfs/debug.c | 159 -- fs/ntfs/debug.h | 57 - fs/ntfs/dir.h | 34 - fs/ntfs/endian.h | 79 - fs/ntfs/index.c | 440 ----- fs/ntfs/index.h | 134 -- fs/ntfs/layout.h | 2421 ---------------------------- fs/ntfs/lcnalloc.c | 1000 ------------ fs/ntfs/lcnalloc.h | 131 -- fs/ntfs/logfile.c | 849 ---------- fs/ntfs/logfile.h | 295 ---- fs/ntfs/malloc.h | 77 - fs/ntfs/mft.h | 110 -- fs/ntfs/mst.c | 189 --- fs/ntfs/ntfs.h | 150 -- fs/ntfs/quota.c | 103 -- fs/ntfs/quota.h | 21 - fs/ntfs/runlist.h | 88 - fs/ntfs/sysctl.h | 27 - fs/ntfs/time.h | 89 - fs/ntfs/types.h | 55 - fs/ntfs/unistr.c | 384 ----- fs/ntfs/upcase.c | 73 - fs/ntfs/usnjrnl.c | 70 - fs/ntfs/usnjrnl.h | 191 --- fs/ntfs/volume.h | 164 -- 37 files changed, 5 insertions(+), 8413 deletions(-) delete mode 100644 Documentation/filesystems/ntfs.rst delete mode 100644 fs/ntfs/Makefile delete mode 100644 fs/ntfs/attrib.h delete mode 100644 fs/ntfs/bitmap.c delete mode 100644 fs/ntfs/bitmap.h delete mode 100644 fs/ntfs/collate.c delete mode 100644 fs/ntfs/collate.h delete mode 100644 fs/ntfs/debug.c delete mode 100644 fs/ntfs/debug.h delete mode 100644 fs/ntfs/dir.h delete mode 100644 fs/ntfs/endian.h delete mode 100644 fs/ntfs/index.c delete mode 100644 fs/ntfs/index.h delete mode 100644 fs/ntfs/layout.h delete mode 100644 fs/ntfs/lcnalloc.c delete mode 100644 fs/ntfs/lcnalloc.h delete mode 100644 fs/ntfs/logfile.c delete mode 100644 fs/ntfs/logfile.h delete mode 100644 fs/ntfs/malloc.h delete mode 100644 fs/ntfs/mft.h delete mode 100644 fs/ntfs/mst.c delete mode 100644 fs/ntfs/ntfs.h delete mode 100644 fs/ntfs/quota.c delete mode 100644 fs/ntfs/quota.h delete mode 100644 fs/ntfs/runlist.h delete mode 100644 fs/ntfs/sysctl.h delete mode 100644 fs/ntfs/time.h delete mode 100644 fs/ntfs/types.h delete mode 100644 fs/ntfs/unistr.c delete mode 100644 fs/ntfs/upcase.c delete mode 100644 fs/ntfs/usnjrnl.c delete mode 100644 fs/ntfs/usnjrnl.h delete mode 100644 fs/ntfs/volume.h
CREDITS +5 -0
@@ -67,6 +67,11 @@ D: dosfs, LILO, some fd features, ATM, various other hacks here and there S: Buenos Aires S: Argentina +NTFS FILESYSTEM +N: Anton Altaparmakov +E: [email protected] +D: NTFS filesystem + N: Tim Alpaerts E: [email protected] D: 802.2 class II logical link control layer,
Documentation/filesystems/ntfs.rst deleted +0 -466
466 lines not on this page · raw message
MAINTAINERS +0 -9
@@ -14667,15 +14667,6 @@ W: https://github.com/davejiang/linux/wiki T: git https://github.com/davejiang/linux.git F: drivers/ntb/hw/intel/ -NTFS FILESYSTEM -M: Anton Altaparmakov <[email protected]> -L: [email protected] -S: Supported -W: http://www.tuxera.com/ -T: git git://git.kernel.org/pub/scm/linux/kernel/git/aia21/ntfs.git -F: Documentation/filesystems/ntfs.rst -F: fs/ntfs/ - NTFS3 FILESYSTEM M: Konstantin Komarov <[email protected]> L: [email protected]
fs/Kconfig +0 -1
@@ -150,7 +150,6 @@ menu "DOS/FAT/EXFAT/NT Filesystems" source "fs/fat/Kconfig" source "fs/exfat/Kconfig" -source "fs/ntfs/Kconfig" source "fs/ntfs3/Kconfig" endmenu
fs/Makefile +0 -1
@@ -96,7 +96,6 @@ obj-y += unicode/ obj-$(CONFIG_SYSV_FS) += sysv/ obj-$(CONFIG_SMBFS) += smb/ obj-$(CONFIG_HPFS_FS) += hpfs/ -obj-$(CONFIG_NTFS_FS) += ntfs/ obj-$(CONFIG_NTFS3_FS) += ntfs3/ obj-$(CONFIG_UFS_FS) += ufs/ obj-$(CONFIG_EFS_FS) += efs/
fs/ntfs/Makefile deleted +0 -15
@@ -1,15 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -# Rules for making the NTFS driver. - -obj-$(CONFIG_NTFS_FS) += ntfs.o - -ntfs-y := aops.o attrib.o collate.o compress.o debug.o dir.o file.o \ - index.o inode.o mft.o mst.o namei.o runlist.o super.o sysctl.o \ - unistr.o upcase.o - -ntfs-$(CONFIG_NTFS_RW) += bitmap.o lcnalloc.o logfile.o quota.o usnjrnl.o - -ccflags-y := -DNTFS_VERSION=\"2.1.32\" -ccflags-$(CONFIG_NTFS_DEBUG) += -DDEBUG -ccflags-$(CONFIG_NTFS_RW) += -DNTFS_RW -
fs/ntfs/attrib.h deleted +0 -102
102 lines not on this page · raw message
fs/ntfs/bitmap.c deleted +0 -179
179 lines not on this page · raw message
fs/ntfs/bitmap.h deleted +0 -104
104 lines not on this page · raw message
fs/ntfs/collate.c deleted +0 -110
110 lines not on this page · raw message
fs/ntfs/collate.h deleted +0 -36
@@ -1,36 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* -* collate.h - Defines for NTFS kernel collation handling. Part of the -* Linux-NTFS project. -* -* Copyright (c) 2004 Anton Altaparmakov -*/ - -#ifndef _LINUX_NTFS_COLLATE_H -#define _LINUX_NTFS_COLLATE_H - -#include "types.h" -#include "volume.h" - -static inline bool ntfs_is_collation_rule_supported (COLLATION_RULE cr) { -int i; - -/* -* FIXME: At the moment we only support COLLATION_BINARY and -* COLLATION_NTOFS_ULONG, so we return false for everything else for -* now. -*/ -if (unlikely (cr !=COLLATION_BINARY && cr !=COLLATION_NTOFS_ULONG )) -return false; - i =le32_to_cpu (cr); -if (likely (((i >=0 ) && (i <=0x02 )) || - ((i >=0x10 ) && (i <=0x13 )))) -return true; -return false; -} - -extern int ntfs_collate (ntfs_volume *vol,COLLATION_RULE cr, -const void *data1,const int data1_len, -const void *data2,const int data2_len); - -#endif /* _LINUX_NTFS_COLLATE_H */
fs/ntfs/debug.c deleted +0 -159
159 lines not on this page · raw message
fs/ntfs/debug.h deleted +0 -57
57 lines not on this page · raw message
fs/ntfs/dir.h deleted +0 -34
@@ -1,34 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* -* dir.h - Defines for directory handling in NTFS Linux kernel driver. Part of -* the Linux-NTFS project. -* -* Copyright (c) 2002-2004 Anton Altaparmakov -*/ - -#ifndef _LINUX_NTFS_DIR_H -#define _LINUX_NTFS_DIR_H - -#include "layout.h" -#include "inode.h" -#include "types.h" - -/* -* ntfs_name is used to return the file name to the caller of -* ntfs_lookup_inode_by_name() in order for the caller (namei.c::ntfs_lookup()) -* to be able to deal with dcache aliasing issues. -*/ -typedef struct { -MFT_REF mref; -FILE_NAME_TYPE_FLAGS type; -u8 len; -ntfschar name[0 ]; -} __attribute__ ((__packed__ ))ntfs_name ; - -/* The little endian Unicode string $I30 as a global constant. */ -extern ntfschar I30 [5 ]; - -extern MFT_REF ntfs_lookup_inode_by_name (ntfs_inode *dir_ni, -const ntfschar *uname,const int uname_len,ntfs_name **res); - -#endif /* _LINUX_NTFS_FS_DIR_H */
fs/ntfs/endian.h deleted +0 -79
79 lines not on this page · raw message
fs/ntfs/index.c deleted +0 -440
440 lines not on this page · raw message
fs/ntfs/index.h deleted +0 -134
134 lines not on this page · raw message
fs/ntfs/layout.h deleted +0 -2421
1,045 lines not on this page · raw message
fs/ntfs/lcnalloc.c deleted +0 -1000
1,000 lines not on this page · raw message
fs/ntfs/lcnalloc.h deleted +0 -131
131 lines not on this page · raw message
fs/ntfs/logfile.c deleted +0 -849
849 lines not on this page · raw message
fs/ntfs/logfile.h deleted +0 -295
295 lines not on this page · raw message
fs/ntfs/malloc.h deleted +0 -77
77 lines not on this page · raw message
fs/ntfs/mft.h deleted +0 -110
110 lines not on this page · raw message
fs/ntfs/mst.c deleted +0 -189
189 lines not on this page · raw message
fs/ntfs/ntfs.h deleted +0 -150
150 lines not on this page · raw message
fs/ntfs/quota.c deleted +0 -103
103 lines not on this page · raw message
fs/ntfs/runlist.h deleted +0 -88
88 lines not on this page · raw message
fs/ntfs/time.h deleted +0 -89
89 lines not on this page · raw message
fs/ntfs/types.h deleted +0 -55
55 lines not on this page · raw message
fs/ntfs/unistr.c deleted +0 -384
384 lines not on this page · raw message
fs/ntfs/upcase.c deleted +0 -73
73 lines not on this page · raw message
fs/ntfs/usnjrnl.c deleted +0 -70
70 lines not on this page · raw message
fs/ntfs/usnjrnl.h deleted +0 -191
191 lines not on this page · raw message
fs/ntfs/volume.h deleted +0 -164
164 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.39.5
Part of the diff is not shown here. View the raw message.