Skip to content

Commit

Permalink
devpts: Remove sync_filesystems
Browse files Browse the repository at this point in the history
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" <[email protected]>
  • Loading branch information
ebiederm committed Sep 22, 2016
1 parent 0d126a7 commit 985e5d8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/devpts/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

/*
Expand Down

0 comments on commit 985e5d8

Please sign in to comment.