Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 280644
b: refs/heads/master
c: 3850aba
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Jan 9, 2012
1 parent 24e819d commit 3fc95c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 87da5b3264c8514b85c6c6e8ef51b9440eee2030
refs/heads/master: 3850aba74873aa47fefe6900b99f42f5e656a6e7
4 changes: 1 addition & 3 deletions trunk/fs/devpts/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ devpts_fill_super(struct super_block *s, void *data, int silent)

inode = new_inode(s);
if (!inode)
goto free_fsi;
goto fail;
inode->i_ino = 1;
inode->i_mtime = inode->i_atime = inode->i_ctime = CURRENT_TIME;
inode->i_mode = S_IFDIR | S_IRUGO | S_IXUGO | S_IWUSR;
Expand All @@ -316,8 +316,6 @@ devpts_fill_super(struct super_block *s, void *data, int silent)
printk(KERN_ERR "devpts: get root dentry failed\n");
iput(inode);

free_fsi:
kfree(s->s_fs_info);
fail:
return -ENOMEM;
}
Expand Down

0 comments on commit 3fc95c6

Please sign in to comment.