mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 18:24:14 +08:00
98b270362b
file operations ->write(), ->aio_write(), and ->writev() for regular files. This replaces the old use of generic_file_write(), et al and the address space operations ->prepare_write and ->commit_write. This means that both sparse and non-sparse (unencrypted and uncompressed) files can now be extended using the normal write(2) code path. There are two limitations at present and these are that we never create sparse files and that we only have limited support for highly fragmented files, i.e. ones whose data attribute is split across multiple extents. When such a case is encountered, EOPNOTSUPP is returned. Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
20 lines
463 B
Makefile
20 lines
463 B
Makefile
# Rules for making the NTFS driver.
|
|
|
|
obj-$(CONFIG_NTFS_FS) += ntfs.o
|
|
|
|
ntfs-objs := 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
|
|
|
|
EXTRA_CFLAGS = -DNTFS_VERSION=\"2.1.25\"
|
|
|
|
ifeq ($(CONFIG_NTFS_DEBUG),y)
|
|
EXTRA_CFLAGS += -DDEBUG
|
|
endif
|
|
|
|
ifeq ($(CONFIG_NTFS_RW),y)
|
|
EXTRA_CFLAGS += -DNTFS_RW
|
|
|
|
ntfs-objs += bitmap.o lcnalloc.o logfile.o quota.o usnjrnl.o
|
|
endif
|