Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135932
b: refs/heads/master
c: a9f184f
h: refs/heads/master
v: v3
  • Loading branch information
Sukadev Bhattiprolu authored and Al Viro committed Mar 27, 2009
1 parent c7e22c9 commit f3072cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: af5df56688acfb75c1b15b4e000ec5e82a9cdc29
refs/heads/master: a9f184f02aa49d46c4c35311d93cbcd1c61149df
2 changes: 2 additions & 0 deletions trunk/fs/devpts/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ static int new_pts_mount(struct file_system_type *fs_type, int flags,

fail:
dput(mnt->mnt_sb->s_root);
up_write(&mnt->mnt_sb->s_umount);
deactivate_super(mnt->mnt_sb);
return err;
}
Expand Down Expand Up @@ -473,6 +474,7 @@ static int init_pts_mount(struct file_system_type *fs_type, int flags,
err = mknod_ptmx(mnt->mnt_sb);
if (err) {
dput(mnt->mnt_sb->s_root);
up_write(&mnt->mnt_sb->s_umount);
deactivate_super(mnt->mnt_sb);
}

Expand Down

0 comments on commit f3072cd

Please sign in to comment.