From: Eric W. Biederman Date: Wed, 14 Sep 2016 18:53:37 +0000 (-0500) Subject: devpts: Remove sync_filesystems X-Git-Tag: v4.9-rc1~147^2~21 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=6bd1d8758db278cb97989a0ebd85059fd948b73b;p=linux.git 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: "Eric W. Biederman" Signed-off-by: Greg Kroah-Hartman --- diff --git a/fs/devpts/inode.c b/fs/devpts/inode.c index e058ec677207..17593d3fcdbe 100644 --- a/fs/devpts/inode.c +++ b/fs/devpts/inode.c @@ -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_mount_opts *opts = &fsi->mount_opts; - sync_filesystem(sb); err = parse_mount_options(data, PARSE_REMOUNT, opts); /*