devpts: Remove sync_filesystems
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 20 Apr 2016 17:02:09 +0000 (12:02 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Thu, 22 Sep 2016 18:32:20 +0000 (13:32 -0500)
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" <ebiederm@xmission.com>
fs/devpts/inode.c

index 2b0f24cb7d5411874b41a059c2f1383e38a7688d..d08971e8eaae88b0ef4b311acd7ef77f22aedf68 100644 (file)
@@ -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);
 
        /*