summaryrefslogtreecommitdiffstats
path: root/fs/devpts
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2016-09-14 13:53:37 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-23 11:31:31 +0200
commit6bd1d8758db278cb97989a0ebd85059fd948b73b (patch)
tree1e0321624fec8e0ebbe99ee793be42fe70c938a0 /fs/devpts
parent40b320e1c757353d65550471132683dfb6c35e0f (diff)
downloadlinux-stable-6bd1d8758db278cb97989a0ebd85059fd948b73b.tar.gz
linux-stable-6bd1d8758db278cb97989a0ebd85059fd948b73b.tar.bz2
linux-stable-6bd1d8758db278cb97989a0ebd85059fd948b73b.zip
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" <ebiederm@xmission.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/devpts')
-rw-r--r--fs/devpts/inode.c1
1 files changed, 0 insertions, 1 deletions
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);
/*