Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 22510
b: refs/heads/master
c: cde174a
h: refs/heads/master
v: v3
  • Loading branch information
James Morris authored and Linus Torvalds committed Mar 22, 2006
1 parent 5a0b9dc commit ae0a16f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 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: 40e906f8224966ef65756cc75f9999ea2de0523d
refs/heads/master: cde174a885821b5eee7e00c8a9a426c9c8186a29
12 changes: 4 additions & 8 deletions trunk/security/selinux/selinuxfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1219,14 +1219,10 @@ static int sel_fill_super(struct super_block * sb, void * data, int silent)
if (!dentry)
return -ENOMEM;

inode = sel_make_inode(sb, S_IFDIR | S_IRUGO | S_IXUGO);
if (!inode)
goto out;
inode->i_op = &simple_dir_inode_operations;
inode->i_fop = &simple_dir_operations;
/* directory inodes start off with i_nlink == 2 (for "." entry) */
inode->i_nlink++;
d_add(dentry, inode);
ret = sel_make_dir(sb, dentry);
if (ret)
return ret;

bool_dir = dentry;
ret = sel_make_bools();
if (ret)
Expand Down

0 comments on commit ae0a16f

Please sign in to comment.