diff options
author | Theodore Ts'o <tytso@mit.edu> | 2019-08-11 23:30:41 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2019-08-11 23:30:41 +0300 |
commit | b0c013e2928d3696ceb6401311dbc1d7fcccd6dd (patch) | |
tree | 673e10bc5de72eab8f375f913df207ccf6a3afea /fs/ext4/ext4.h | |
parent | 547b9ad698b434eadca46319cb47e5875b55ef03 (diff) | |
download | linux-b0c013e2928d3696ceb6401311dbc1d7fcccd6dd.tar.xz |
ext4: add a new ioctl EXT4_IOC_CLEAR_ES_CACHE
The new ioctl EXT4_IOC_CLEAR_ES_CACHE will force an inode's extent
status cache to be cleared out. This is intended for use for
debugging.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r-- | fs/ext4/ext4.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index bf660aa7a9e0..b22f24f1d365 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h @@ -649,6 +649,8 @@ enum { #define EXT4_IOC_SET_ENCRYPTION_POLICY FS_IOC_SET_ENCRYPTION_POLICY #define EXT4_IOC_GET_ENCRYPTION_PWSALT FS_IOC_GET_ENCRYPTION_PWSALT #define EXT4_IOC_GET_ENCRYPTION_POLICY FS_IOC_GET_ENCRYPTION_POLICY +/* ioctl codes 19--39 are reserved for fscrypt */ +#define EXT4_IOC_CLEAR_ES_CACHE _IO('f', 40) #define EXT4_IOC_FSGETXATTR FS_IOC_FSGETXATTR #define EXT4_IOC_FSSETXATTR FS_IOC_FSSETXATTR |