Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135952
b: refs/heads/master
c: fdbf534
h: refs/heads/master
v: v3
  • Loading branch information
Sukadev Bhattiprolu authored and Al Viro committed Mar 27, 2009
1 parent 5051326 commit 95014b3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a3ec947c85ec339884b30ef6a08133e9311fdae1
refs/heads/master: fdbf5348661ac9d519164d1489f30cc0384fda58
7 changes: 6 additions & 1 deletion trunk/fs/devpts/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,8 @@ static int get_init_pts_sb(struct file_system_type *fs_type, int flags,
void *data, struct vfsmount *mnt)
{
struct super_block *s;
struct pts_mount_opts *opts;
struct pts_fs_info *fsi;
int error;

s = sget(fs_type, compare_init_pts_sb, set_anon_super, NULL);
Expand All @@ -453,7 +455,10 @@ static int get_init_pts_sb(struct file_system_type *fs_type, int flags,
}
s->s_flags |= MS_ACTIVE;
}
do_remount_sb(s, flags, data, 0);
fsi = DEVPTS_SB(s);
opts = &fsi->mount_opts;
parse_mount_options(data, PARSE_REMOUNT, opts);

simple_set_mnt(mnt, s);
return 0;
}
Expand Down

0 comments on commit 95014b3

Please sign in to comment.