mirror of
https://github.com/torvalds/linux
synced 2026-07-22 10:10:47 +09:00
The ntfs driver does not implement quota accounting. It creates new inodes with the NTFS 1.2 $STANDARD_INFORMATION layout and does not maintain the NTFS 3.x owner_id/quota_charged fields or the $Quota usage records that Windows would need for meaningful quota accounting. The only runtime quota path left in the driver is the remount-rw code that tries to mark $Quota/$Q out of date, plus the mount-time code that loads $Quota and its $Q index solely to support that marker. Since the driver does not maintain the per-file quota metadata, setting QUOTA_FLAG_OUT_OF_DATE does not make the quota state meaningful, and failures in this unsupported path can unnecessarily block remount-rw or force a mount read-only. Remove the quota marker, the $Quota/$Q loading state, and the unused quota volume flag. Keep the on-disk quota layout definitions in layout.h so the documented NTFS structures remain available. Suggested-by: Hyunchul Lee <hyc.lee@gmail.com> Link: https://lore.kernel.org/all/CANFS6bYTzioqZjYt=51Kb9RdR3MKXaez_fh_WCLoym093VxFmg@mail.gmail.com/ Signed-off-by: DaeMyung Kang <charsyam@gmail.com> Reviewed-by: Hyunchul Lee <hyc.lee@gmail.com> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
11 lines
360 B
Makefile
11 lines
360 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
obj-$(CONFIG_NTFS_FS) += ntfs.o
|
|
|
|
ntfs-y := aops.o attrib.o collate.o dir.o file.o index.o inode.o \
|
|
mft.o mst.o namei.o runlist.o super.o unistr.o attrlist.o ea.o \
|
|
upcase.o bitmap.o lcnalloc.o logfile.o reparse.o compress.o \
|
|
iomap.o debug.o sysctl.o object_id.o bdev-io.o
|
|
|
|
ccflags-$(CONFIG_NTFS_DEBUG) += -DDEBUG
|