Bug 4199 - [ANCK 4.19] remove useless new_opts in reiserfs_remount
Summary: [ANCK 4.19] remove useless new_opts in reiserfs_remount
Status: RESOLVED FIXED
Alias: None
Product: ANCK 4.19 Dev
Classification: ANCK
Component: fs (show other bugs) fs
Version: 4.19-028.x
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: niuyachen
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-23 19:49 UTC by niuyachen
Modified: 2023-03-02 18:12 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description niuyachen inspur_group 2023-02-23 19:49:22 UTC
Description of problem:


Since the commit c3d98ea08291 ("VFS: Don't use save/replace_mount_options
if not using generic_show_options") eliminates replace_mount_options
in reiserfs_remount, but does not handle the allocated new_opts,
it will cause memory leak in the reiserfs_remount.

Because new_opts is useless in reiserfs_mount, so we fix this bug by
removing the useless new_opts in reiserfs_remount.
Comment 2 Joseph Qi alibaba_cloud_group 2023-02-28 15:31:49 UTC
merged