diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-01-30 14:59:19 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-02-19 21:48:05 +0900 |
| commit | 1f662195dbc07a66241cb5fe483036e5d07fb642 (patch) | |
| tree | 57a222620f0a0f3fc8b052ffa5b1ec73338ae521 /tools/perf/scripts/python/bin | |
| parent | 1e9ea7e04472d4e5e12e58c881eaacfb3e49b669 (diff) | |
fs: add generic FS_IOC_SHUTDOWN definitions
Currently, several filesystems (e.g., xfs, ext4, btrfs) implement
a "shutdown" or "going down" ioctl to simulate filesystem force a shutdown.
While they often use the same underlying numeric value, the definition is
duplicated across filesystem headers or private definitions.
Add generic definitions for FS_IOC_SHUTDOWN in uapi/linux/fs.h.
This allows new filesystems (like ntfs) to implement this feature using
a standard VFS definition and paves the way for existing filesystems
to unify their definitions later.
The flag names are standardized as FS_SHUTDOWN_* to be consistent with
the ioctl name, replacing the historical GOING_DOWN naming convention.
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
