mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
adfs: rename adfs_notify_change to adfs_setattr
Make the function name match the method that it implements. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://patch.msgid.link/20260325063711.3298685-3-hch@lst.de Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
parent
d1312979f1
commit
9c71de5f4d
|
|
@ -144,8 +144,8 @@ struct adfs_discmap {
|
|||
/* Inode stuff */
|
||||
struct inode *adfs_iget(struct super_block *sb, struct object_info *obj);
|
||||
int adfs_write_inode(struct inode *inode, struct writeback_control *wbc);
|
||||
int adfs_notify_change(struct mnt_idmap *idmap, struct dentry *dentry,
|
||||
struct iattr *attr);
|
||||
int adfs_setattr(struct mnt_idmap *idmap, struct dentry *dentry,
|
||||
struct iattr *attr);
|
||||
|
||||
/* map.c */
|
||||
int adfs_map_lookup(struct super_block *sb, u32 frag_id, unsigned int offset);
|
||||
|
|
|
|||
|
|
@ -454,5 +454,5 @@ adfs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags)
|
|||
*/
|
||||
const struct inode_operations adfs_dir_inode_operations = {
|
||||
.lookup = adfs_lookup,
|
||||
.setattr = adfs_notify_change,
|
||||
.setattr = adfs_setattr,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -32,5 +32,5 @@ const struct file_operations adfs_file_operations = {
|
|||
};
|
||||
|
||||
const struct inode_operations adfs_file_inode_operations = {
|
||||
.setattr = adfs_notify_change,
|
||||
.setattr = adfs_setattr,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -299,8 +299,7 @@ adfs_iget(struct super_block *sb, struct object_info *obj)
|
|||
* later.
|
||||
*/
|
||||
int
|
||||
adfs_notify_change(struct mnt_idmap *idmap, struct dentry *dentry,
|
||||
struct iattr *attr)
|
||||
adfs_setattr(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *attr)
|
||||
{
|
||||
struct inode *inode = d_inode(dentry);
|
||||
struct super_block *sb = inode->i_sb;
|
||||
|
|
@ -355,8 +354,7 @@ adfs_notify_change(struct mnt_idmap *idmap, struct dentry *dentry,
|
|||
|
||||
/*
|
||||
* write an existing inode back to the directory, and therefore the disk.
|
||||
* The adfs-specific inode data has already been updated by
|
||||
* adfs_notify_change()
|
||||
* The adfs-specific inode data has already been updated by * adfs_setattr().
|
||||
*/
|
||||
int adfs_write_inode(struct inode *inode, struct writeback_control *wbc)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user