Skip to content

Commit 1e5f0fb

Browse files
Askar Safinbrauner
authored andcommitted
vfs: fs/namespace.c: remove ms_flags argument from do_remount
...because it is not used Signed-off-by: Askar Safin <safinaskar@zohomail.com> Link: https://lore.kernel.org/20250811045444.1813009-1-safinaskar@zohomail.com Reviewed-by: Aleksa Sarai <cyphar@cyphar.com> Signed-off-by: Christian Brauner <brauner@kernel.org>
1 parent 573015d commit 1e5f0fb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

fs/namespace.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3279,7 +3279,7 @@ static int do_reconfigure_mnt(struct path *path, unsigned int mnt_flags)
32793279
* If you've mounted a non-root directory somewhere and want to do remount
32803280
* on it - tough luck.
32813281
*/
3282-
static int do_remount(struct path *path, int ms_flags, int sb_flags,
3282+
static int do_remount(struct path *path, int sb_flags,
32833283
int mnt_flags, void *data)
32843284
{
32853285
int err;
@@ -4111,7 +4111,7 @@ int path_mount(const char *dev_name, struct path *path,
41114111
if ((flags & (MS_REMOUNT | MS_BIND)) == (MS_REMOUNT | MS_BIND))
41124112
return do_reconfigure_mnt(path, mnt_flags);
41134113
if (flags & MS_REMOUNT)
4114-
return do_remount(path, flags, sb_flags, mnt_flags, data_page);
4114+
return do_remount(path, sb_flags, mnt_flags, data_page);
41154115
if (flags & MS_BIND)
41164116
return do_loopback(path, dev_name, flags & MS_REC);
41174117
if (flags & (MS_SHARED | MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE))

0 commit comments

Comments
 (0)