From: Christoph Hellwig Date: Wed, 25 Mar 2026 06:36:49 +0000 (+0100) Subject: adfs: rename adfs_notify_change to adfs_setattr X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c71de5f4ddc978782f7ceb60c8cfee4db64f286;p=thirdparty%2Fkernel%2Flinux.git adfs: rename adfs_notify_change to adfs_setattr Make the function name match the method that it implements. Signed-off-by: Christoph Hellwig Link: https://patch.msgid.link/20260325063711.3298685-3-hch@lst.de Reviewed-by: Jan Kara Signed-off-by: Christian Brauner --- diff --git a/fs/adfs/adfs.h b/fs/adfs/adfs.h index 223f0283d20f..0d32b7cd99b4 100644 --- a/fs/adfs/adfs.h +++ b/fs/adfs/adfs.h @@ -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); diff --git a/fs/adfs/dir.c b/fs/adfs/dir.c index 4f9dc276da6f..e900ec9d0066 100644 --- a/fs/adfs/dir.c +++ b/fs/adfs/dir.c @@ -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, }; diff --git a/fs/adfs/file.c b/fs/adfs/file.c index cd13165fd904..73486667d6b4 100644 --- a/fs/adfs/file.c +++ b/fs/adfs/file.c @@ -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, }; diff --git a/fs/adfs/inode.c b/fs/adfs/inode.c index 6830f8bc8d4e..4ac442d0a8c0 100644 --- a/fs/adfs/inode.c +++ b/fs/adfs/inode.c @@ -299,8 +299,7 @@ out: * 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 @@ out: /* * 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) {