Pull exfat updates from Namjae Jeon: - Clean-up unnecessary codes as ->valid_size is supported - buffered-IO fallback is no longer needed when using direct-IO - Move ->valid_size extension from mmap to ->page_mkwrite. This improves the overhead caused by unnecessary zero-out during mmap. - Fix memleaks from exfat_load_bitmap() and exfat_create_upcase_table() - Add sops->shutdown and ioctl - Add Yuezhang Mo as a reviwer * tag 'exfat-for-6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat: MAINTAINERS: exfat: add myself as reviewer exfat: resolve memory leak from exfat_create_upcase_table() exfat: move extend valid_size into ->page_mkwrite() exfat: fix memory leak in exfat_load_bitmap() exfat: Implement sops->shutdown and ioctl exfat: do not fallback to buffered write exfat: drop ->i_size_ondisk
Showing the changes to include/uapi/linux (1 of 9 files). Show all
Unified · Split
| @@ -0,0 +1,25 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
| 2 | /* | ||
| 3 | * Copyright (C) 2024 Unisoc Technologies Co., Ltd. | ||
| 4 | */ | ||
| 5 | |||
| 6 | #ifndef _UAPI_LINUX_EXFAT_H | ||
| 7 | #define _UAPI_LINUX_EXFAT_H | ||
| 8 | #include <linux/types.h> | ||
| 9 | #include <linux/ioctl.h> | ||
| 10 | |||
| 11 | /* | ||
| 12 | * exfat-specific ioctl commands | ||
| 13 | */ | ||
| 14 | |||
| 15 | #define EXFAT_IOC_SHUTDOWN _IOR('X', 125, __u32) | ||
| 16 | |||
| 17 | /* | ||
| 18 | * Flags used by EXFAT_IOC_SHUTDOWN | ||
| 19 | */ | ||
| 20 | |||
| 21 | #define EXFAT_GOING_DOWN_DEFAULT 0x0 /* default with full sync */ | ||
| 22 | #define EXFAT_GOING_DOWN_FULLSYNC 0x1 /* going down with full sync*/ | ||
| 23 | #define EXFAT_GOING_DOWN_NOSYNC 0x2 /* going down */ | ||
| 24 | |||
| 25 | #endif /* _UAPI_LINUX_EXFAT_H */ | ||