Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75737
b: refs/heads/master
c: 69d8e13
h: refs/heads/master
i:
  75735: b97f53f
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Jan 25, 2008
1 parent 756dae5 commit 3098351
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 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: 5c89e17e9c2bc03ed16320967832b33b174e6234
refs/heads/master: 69d8e1389551b107b1a8ec70c280cb7a56096666
11 changes: 5 additions & 6 deletions trunk/security/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -315,20 +315,19 @@ void securityfs_remove(struct dentry *dentry)
}
EXPORT_SYMBOL_GPL(securityfs_remove);

static decl_subsys(security, NULL);
static struct kobject *security_kobj;

static int __init securityfs_init(void)
{
int retval;

security_subsys.kobj.kset = &kernel_subsys;
retval = subsystem_register(&security_subsys);
if (retval)
return retval;
security_kobj = kobject_create_and_add("security", &kernel_subsys.kobj);
if (!security_kobj)
return -EINVAL;

retval = register_filesystem(&fs_type);
if (retval)
subsystem_unregister(&security_subsys);
kobject_unregister(security_kobj);
return retval;
}

Expand Down

0 comments on commit 3098351

Please sign in to comment.