aboutsummaryrefslogtreecommitdiffstats
path: root/fs/buffer.c
diff options
context:
space:
mode:
authorDongliang Mu <[email protected]>2021-10-27 14:34:41 +0000
committerJan Kara <[email protected]>2021-10-27 14:45:20 +0000
commit81dedaf10c20959bdf5624f9783f408df26ba7a4 (patch)
treecfbdbdeb6b1dd29432c0274cafe04c74cfc9b8a5 /fs/buffer.c
parentisofs: Fix out of bound access for corrupted isofs image (diff)
downloadkernel-81dedaf10c20959bdf5624f9783f408df26ba7a4.tar.gz
kernel-81dedaf10c20959bdf5624f9783f408df26ba7a4.zip
fs: reiserfs: remove useless new_opts in reiserfs_remount
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. Fixes: c3d98ea08291 ("VFS: Don't use save/replace_mount_options if not using generic_show_options") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dongliang Mu <[email protected]> Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'fs/buffer.c')
0 files changed, 0 insertions, 0 deletions