linux-stable/fs/ntfs
Linus Torvalds 3e32715496
vfs: get rid of old '->iterate' directory operation
All users now just use '->iterate_shared()', which only takes the
directory inode lock for reading.

Filesystems that never got convered to shared mode now instead use a
wrapper that drops the lock, re-takes it in write mode, calls the old
function, and then downgrades the lock back to read mode.

This way the VFS layer and other callers no longer need to care about
filesystems that never got converted to the modern era.

The filesystems that use the new wrapper are ceph, coda, exfat, jfs,
ntfs, ocfs2, overlayfs, and vboxsf.

Honestly, several of them look like they really could just iterate their
directories in shared mode and skip the wrapper entirely, but the point
of this change is to not change semantics or fix filesystems that
haven't been fixed in the last 7+ years, but to finally get rid of the
dual iterators.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
2023-08-06 15:08:35 +02:00
..
Kconfig fs: ntfs: Limit NTFS_RW to page sizes smaller than 64k 2021-11-27 14:34:41 -08:00
Makefile
aops.c buffer: convert __block_write_full_page() to __block_write_full_folio() 2023-06-19 16:19:30 -07:00
aops.h ntfs: fix multiple kernel-doc warnings 2023-02-02 22:50:03 -08:00
attrib.c ntfs: Correct spelling 2023-05-19 11:59:38 +02:00
attrib.h
bitmap.c
bitmap.h
collate.c
collate.h
compress.c ntfs: remove redundant initialization to pointer cb_sb_start 2023-05-19 11:58:14 +02:00
debug.c
debug.h
dir.c vfs: get rid of old '->iterate' directory operation 2023-08-06 15:08:35 +02:00
dir.h
endian.h
file.c - Yosry Ahmed brought back some cgroup v1 stats in OOM logs. 2023-06-28 10:28:11 -07:00
index.c
index.h
inode.c There is no particular theme here - mainly quick hits all over the tree. 2023-02-23 17:55:40 -08:00
inode.h fs: port ->setattr() to pass mnt_idmap 2023-01-19 09:24:02 +01:00
layout.h
lcnalloc.c
lcnalloc.h
logfile.c fs/buffer: Combine two submit_bh() and ll_rw_block() arguments 2022-07-14 12:14:32 -06:00
logfile.h
malloc.h
mft.c ntfs: do not dereference a null ctx on error 2023-05-24 11:10:14 +02:00
mft.h ntfs: Convert ntfs to read_folio 2022-05-09 16:21:46 -04:00
mst.c
namei.c ntfs: fix multiple kernel-doc warnings 2023-02-02 22:50:03 -08:00
ntfs.h
quota.c
quota.h
runlist.c ntfs: fix multiple kernel-doc warnings 2023-02-02 22:50:03 -08:00
runlist.h
super.c ntfs: Remove unneeded semicolon 2023-05-19 12:00:57 +02:00
sysctl.c ntfs: simplfy one-level sysctl registration for ntfs_sysctls 2023-04-13 11:49:35 -07:00
sysctl.h
time.h
types.h
unistr.c
upcase.c
usnjrnl.c
usnjrnl.h
volume.h