]> git.karo-electronics.de Git - linux-beck.git/commitdiff
devpts: Remove sync_filesystems
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 14 Sep 2016 18:53:37 +0000 (13:53 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Sep 2016 09:31:31 +0000 (11:31 +0200)
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/devpts/inode.c

index e058ec6772076ca78c4edb628a8dfe11b63f3d68..17593d3fcdbe017b148ec1750f3310d0c41dd53f 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);
 
        /*