diff options
author | Kyoungho Koo <rnrudgh@gmail.com> | 2020-08-10 17:07:05 +0900 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2020-08-18 14:25:54 -0400 |
commit | 2fe34d2938181b26f86bceb7b87fbf7370bd92c4 (patch) | |
tree | e070f2a447debe72ce36ef481e3a1575b7ab584a /fs/ext4/namei.c | |
parent | e0d438c72abe0cb000d67c0795b0341f9e763836 (diff) | |
download | linux-2fe34d2938181b26f86bceb7b87fbf7370bd92c4.tar.bz2 |
ext4: remove unused parameter of ext4_generic_delete_entry function
The ext4_generic_delete_entry function does not use the parameter
handle, so it can be removed.
Signed-off-by: Kyoungho Koo <rnrudgh@gmail.com>
Reviewed-by: Ritesh Harjani <riteshh@linux.ibm.com>
Link: https://lore.kernel.org/r/20200810080701.GA14160@koo-Z370-HD3
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/namei.c')
-rw-r--r-- | fs/ext4/namei.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c index b92571beab72..153a9fbe1dd0 100644 --- a/fs/ext4/namei.c +++ b/fs/ext4/namei.c @@ -2465,8 +2465,7 @@ cleanup: * ext4_generic_delete_entry deletes a directory entry by merging it * with the previous entry */ -int ext4_generic_delete_entry(handle_t *handle, - struct inode *dir, +int ext4_generic_delete_entry(struct inode *dir, struct ext4_dir_entry_2 *de_del, struct buffer_head *bh, void *entry_buf, @@ -2527,8 +2526,7 @@ static int ext4_delete_entry(handle_t *handle, if (unlikely(err)) goto out; - err = ext4_generic_delete_entry(handle, dir, de_del, - bh, bh->b_data, + err = ext4_generic_delete_entry(dir, de_del, bh, bh->b_data, dir->i_sb->s_blocksize, csum_size); if (err) goto out; |