Commit 6bd1d875 authored by Eric W. Biederman's avatar Eric W. Biederman Committed by Greg Kroah-Hartman

devpts: Remove sync_filesystems

devpts does not and never will have anything to sync
so don't bother calling sync_filesystems on remount.
Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 40b320e1
...@@ -336,7 +336,6 @@ static int devpts_remount(struct super_block *sb, int *flags, char *data) ...@@ -336,7 +336,6 @@ static int devpts_remount(struct super_block *sb, int *flags, char *data)
struct pts_fs_info *fsi = DEVPTS_SB(sb); struct pts_fs_info *fsi = DEVPTS_SB(sb);
struct pts_mount_opts *opts = &fsi->mount_opts; struct pts_mount_opts *opts = &fsi->mount_opts;
sync_filesystem(sb);
err = parse_mount_options(data, PARSE_REMOUNT, opts); err = parse_mount_options(data, PARSE_REMOUNT, opts);
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment