diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2024-07-10 02:40:11 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-08-07 11:31:57 +0200 |
commit | e033fe609d749749ba40554f6c312f9b29b28447 (patch) | |
tree | 652a0ba029bbd7518a7d391d6ea3e1820c53fc8b /fs/minix/namei.c | |
parent | minixfs: Convert minix_set_link() and minix_dotdot() to take a folio (diff) | |
download | linux-e033fe609d749749ba40554f6c312f9b29b28447.tar.xz linux-e033fe609d749749ba40554f6c312f9b29b28447.zip |
minixfs: Convert minix_delete_entry() to work on a folio
Match ext2 and remove a few hidden calls to compound_head().
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/minix/namei.c')
-rw-r--r-- | fs/minix/namei.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/minix/namei.c b/fs/minix/namei.c index ba82fa3332f1..5d9c1406fe27 100644 --- a/fs/minix/namei.c +++ b/fs/minix/namei.c @@ -148,7 +148,7 @@ static int minix_unlink(struct inode * dir, struct dentry *dentry) de = minix_find_entry(dentry, &folio); if (!de) return -ENOENT; - err = minix_delete_entry(de, &folio->page); + err = minix_delete_entry(de, folio); folio_release_kmap(folio, de); if (err) @@ -228,7 +228,7 @@ static int minix_rename(struct mnt_idmap *idmap, inode_inc_link_count(new_dir); } - err = minix_delete_entry(old_de, &old_folio->page); + err = minix_delete_entry(old_de, old_folio); if (err) goto out_dir; |