Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1483558

[PATCH tty-next 5/6] devpts: Remove sync_filesystems

From "Eric W. Biederman" <ebiederm@xmission.com>
Newsgroups linux.kernel
Subject [PATCH tty-next 5/6] devpts: Remove sync_filesystems
Date 2016-09-14 21:10 +0200
Message-ID <shnJg-4KO-13@gated-at.bofh.it> (permalink)
References <shnJg-4KO-5@gated-at.bofh.it> <shnJg-4KO-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 | 1 -
 1 file changed, 1 deletion(-)

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);
 
 	/*
-- 
2.8.3

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH tty-next 1/6] devpts: Move parse_mount_options into fill_super "Eric W. Biederman" <ebiederm@xmission.com> - 2016-09-14 21:10 +0200
  [PATCH tty-next 5/6] devpts: Remove sync_filesystems "Eric W. Biederman" <ebiederm@xmission.com> - 2016-09-14 21:10 +0200
  [PATCH tty-next 3/6] devpts: Simplify devpts_mount by using mount_nodev "Eric W. Biederman" <ebiederm@xmission.com> - 2016-09-14 21:10 +0200
  [PATCH tty-next 6/6] devpts: Change the owner of /dev/pts/ptmx to the mounter of /dev/pts "Eric W. Biederman" <ebiederm@xmission.com> - 2016-09-14 21:10 +0200
  [PATCH tty-next 2/6] devpts: Move the creation of /dev/pts/ptmx into fill_super "Eric W. Biederman" <ebiederm@xmission.com> - 2016-09-14 21:10 +0200

csiph-web