diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/selinux/hooks.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index ec834dc0b414..03621928f1b2 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c | |||
@@ -2655,12 +2655,6 @@ static int selinux_inode_rmdir(struct inode *dir, struct dentry *dentry) | |||
2655 | 2655 | ||
2656 | static int selinux_inode_mknod(struct inode *dir, struct dentry *dentry, int mode, dev_t dev) | 2656 | static int selinux_inode_mknod(struct inode *dir, struct dentry *dentry, int mode, dev_t dev) |
2657 | { | 2657 | { |
2658 | int rc; | ||
2659 | |||
2660 | rc = secondary_ops->inode_mknod(dir, dentry, mode, dev); | ||
2661 | if (rc) | ||
2662 | return rc; | ||
2663 | |||
2664 | return may_create(dir, dentry, inode_mode_to_security_class(mode)); | 2658 | return may_create(dir, dentry, inode_mode_to_security_class(mode)); |
2665 | } | 2659 | } |
2666 | 2660 | ||