diff options
| author | Christian Brauner <brauner@kernel.org> | 2025-07-03 09:36:41 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-07-04 16:14:39 +0200 |
| commit | ca115d7e754691c0219eec95ec94dbac7f87daef (patch) | |
| tree | 4d9428ebd33b95fc42b9e280358ad757acd3b6d7 /fs/ext2/ioctl.c | |
| parent | Merge patch series "fs: introduce file_getattr and file_setattr syscalls" (diff) | |
| download | linux-ca115d7e754691c0219eec95ec94dbac7f87daef.tar.gz linux-ca115d7e754691c0219eec95ec94dbac7f87daef.zip | |
tree-wide: s/struct fileattr/struct file_kattr/g
Now that we expose struct file_attr as our uapi struct rename all the
internal struct to struct file_kattr to clearly communicate that it is a
kernel internal struct. This is similar to struct mount_{k}attr and
others.
Link: https://lore.kernel.org/20250703-restlaufzeit-baurecht-9ed44552b481@brauner
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/ext2/ioctl.c')
| -rw-r--r-- | fs/ext2/ioctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext2/ioctl.c b/fs/ext2/ioctl.c index 44e04484e570..c3fea55b8efa 100644 --- a/fs/ext2/ioctl.c +++ b/fs/ext2/ioctl.c @@ -18,7 +18,7 @@ #include <linux/uaccess.h> #include <linux/fileattr.h> -int ext2_fileattr_get(struct dentry *dentry, struct fileattr *fa) +int ext2_fileattr_get(struct dentry *dentry, struct file_kattr *fa) { struct ext2_inode_info *ei = EXT2_I(d_inode(dentry)); @@ -28,7 +28,7 @@ int ext2_fileattr_get(struct dentry *dentry, struct fileattr *fa) } int ext2_fileattr_set(struct mnt_idmap *idmap, - struct dentry *dentry, struct fileattr *fa) + struct dentry *dentry, struct file_kattr *fa) { struct inode *inode = d_inode(dentry); struct ext2_inode_info *ei = EXT2_I(inode); |
