diff options
author | Wang Long <w@laoqinren.net> | 2024-08-02 17:19:01 +0800 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-08-19 13:45:03 +0200 |
commit | c01a5d89e5c8abe638107be2a4ea9e4c7fcdd7f6 (patch) | |
tree | f3513ebd1b49855d14af48ff3454f29a95d33abb /fs | |
parent | 66e5cfee6280a361c429b6a6bfd66044e4644e86 (diff) | |
download | linux-stable-c01a5d89e5c8abe638107be2a4ea9e4c7fcdd7f6.tar.gz linux-stable-c01a5d89e5c8abe638107be2a4ea9e4c7fcdd7f6.tar.bz2 linux-stable-c01a5d89e5c8abe638107be2a4ea9e4c7fcdd7f6.zip |
percpu-rwsem: remove the unused parameter 'read'
In the function percpu_rwsem_release, the parameter `read`
is unused, so remove it.
Signed-off-by: Wang Long <w@laoqinren.net>
Link: https://lore.kernel.org/r/20240802091901.2546797-1-w@laoqinren.net
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/super.c b/fs/super.c index 28f42502bdf9..33f35abb1990 100644 --- a/fs/super.c +++ b/fs/super.c @@ -1905,7 +1905,7 @@ static void lockdep_sb_freeze_release(struct super_block *sb) int level; for (level = SB_FREEZE_LEVELS - 1; level >= 0; level--) - percpu_rwsem_release(sb->s_writers.rw_sem + level, 0, _THIS_IP_); + percpu_rwsem_release(sb->s_writers.rw_sem + level, _THIS_IP_); } /* |