mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-22 07:27:12 +08:00
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>
This commit is contained in:
@@ -750,9 +750,9 @@ extern int ext2_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo,
|
||||
u64 start, u64 len);
|
||||
|
||||
/* ioctl.c */
|
||||
extern int ext2_fileattr_get(struct dentry *dentry, struct fileattr *fa);
|
||||
extern int ext2_fileattr_get(struct dentry *dentry, struct file_kattr *fa);
|
||||
extern int ext2_fileattr_set(struct mnt_idmap *idmap,
|
||||
struct dentry *dentry, struct fileattr *fa);
|
||||
struct dentry *dentry, struct file_kattr *fa);
|
||||
extern long ext2_ioctl(struct file *, unsigned int, unsigned long);
|
||||
extern long ext2_compat_ioctl(struct file *, unsigned int, unsigned long);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user