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:
@@ -2632,7 +2632,7 @@ void security_inode_post_removexattr(struct dentry *dentry, const char *name)
|
||||
*
|
||||
* Return: Returns 0 if permission is granted.
|
||||
*/
|
||||
int security_inode_file_setattr(struct dentry *dentry, struct fileattr *fa)
|
||||
int security_inode_file_setattr(struct dentry *dentry, struct file_kattr *fa)
|
||||
{
|
||||
return call_int_hook(inode_file_setattr, dentry, fa);
|
||||
}
|
||||
@@ -2647,7 +2647,7 @@ int security_inode_file_setattr(struct dentry *dentry, struct fileattr *fa)
|
||||
*
|
||||
* Return: Returns 0 if permission is granted.
|
||||
*/
|
||||
int security_inode_file_getattr(struct dentry *dentry, struct fileattr *fa)
|
||||
int security_inode_file_getattr(struct dentry *dentry, struct file_kattr *fa)
|
||||
{
|
||||
return call_int_hook(inode_file_getattr, dentry, fa);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user