diff options
| author | Christoph Hellwig <hch@lst.de> | 2026-03-25 07:36:50 +0100 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-03-26 15:16:54 +0100 |
| commit | d0fdc1c0d0f6bb844fdf1c135d6b0f310e58d794 (patch) | |
| tree | 0ad1e0f9986b19c416e0ca9d540a2240baccd189 /fs/affs | |
| parent | 9c71de5f4ddc978782f7ceb60c8cfee4db64f286 (diff) | |
| download | linux-next-d0fdc1c0d0f6bb844fdf1c135d6b0f310e58d794.tar.gz linux-next-d0fdc1c0d0f6bb844fdf1c135d6b0f310e58d794.zip | |
affs: rename affs_notify_change to affs_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-4-hch@lst.de
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/affs')
| -rw-r--r-- | fs/affs/affs.h | 2 | ||||
| -rw-r--r-- | fs/affs/dir.c | 2 | ||||
| -rw-r--r-- | fs/affs/file.c | 2 | ||||
| -rw-r--r-- | fs/affs/inode.c | 5 | ||||
| -rw-r--r-- | fs/affs/symlink.c | 2 |
5 files changed, 6 insertions, 7 deletions
diff --git a/fs/affs/affs.h b/fs/affs/affs.h index ac4e9a02910b..43e20b02b449 100644 --- a/fs/affs/affs.h +++ b/fs/affs/affs.h @@ -184,7 +184,7 @@ extern int affs_rename2(struct mnt_idmap *idmap, /* inode.c */ extern struct inode *affs_new_inode(struct inode *dir); -extern int affs_notify_change(struct mnt_idmap *idmap, +extern int affs_setattr(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *attr); extern void affs_evict_inode(struct inode *inode); extern struct inode *affs_iget(struct super_block *sb, diff --git a/fs/affs/dir.c b/fs/affs/dir.c index fe18caaf4d65..5f3d5d54085e 100644 --- a/fs/affs/dir.c +++ b/fs/affs/dir.c @@ -71,7 +71,7 @@ const struct inode_operations affs_dir_inode_operations = { .mkdir = affs_mkdir, .rmdir = affs_rmdir, .rename = affs_rename2, - .setattr = affs_notify_change, + .setattr = affs_setattr, }; static int diff --git a/fs/affs/file.c b/fs/affs/file.c index 6c9258359ddb..cede4bb1134e 100644 --- a/fs/affs/file.c +++ b/fs/affs/file.c @@ -1013,5 +1013,5 @@ const struct file_operations affs_file_operations = { }; const struct inode_operations affs_file_inode_operations = { - .setattr = affs_notify_change, + .setattr = affs_setattr, }; diff --git a/fs/affs/inode.c b/fs/affs/inode.c index 0bfc7d151dcd..f660e76584b3 100644 --- a/fs/affs/inode.c +++ b/fs/affs/inode.c @@ -213,13 +213,12 @@ affs_write_inode(struct inode *inode, struct writeback_control *wbc) } int -affs_notify_change(struct mnt_idmap *idmap, struct dentry *dentry, - struct iattr *attr) +affs_setattr(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *attr) { struct inode *inode = d_inode(dentry); int error; - pr_debug("notify_change(%lu,0x%x)\n", inode->i_ino, attr->ia_valid); + pr_debug("setattr(%lu,0x%x)\n", inode->i_ino, attr->ia_valid); error = setattr_prepare(&nop_mnt_idmap, dentry, attr); if (error) diff --git a/fs/affs/symlink.c b/fs/affs/symlink.c index 094aec8d17b8..af6147e1d975 100644 --- a/fs/affs/symlink.c +++ b/fs/affs/symlink.c @@ -71,5 +71,5 @@ const struct address_space_operations affs_symlink_aops = { const struct inode_operations affs_symlink_inode_operations = { .get_link = page_get_link, - .setattr = affs_notify_change, + .setattr = affs_setattr, }; |
