From 8b0a8165cdad0f4133837d753649ef4682e42c3b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 7 Aug 2024 15:11:40 +0200 Subject: Merging upstream version 6.9.7. Signed-off-by: Daniel Baumann --- fs/ntfs3/dir.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'fs/ntfs3/dir.c') diff --git a/fs/ntfs3/dir.c b/fs/ntfs3/dir.c index 45e556fd7c..1937e8e612 100644 --- a/fs/ntfs3/dir.c +++ b/fs/ntfs3/dir.c @@ -617,4 +617,11 @@ const struct file_operations ntfs_dir_operations = { .compat_ioctl = ntfs_compat_ioctl, #endif }; + +const struct file_operations ntfs_legacy_dir_operations = { + .llseek = generic_file_llseek, + .read = generic_read_dir, + .iterate_shared = ntfs_readdir, + .open = ntfs_file_open, +}; // clang-format on -- cgit v1.2.3