[yakkety/master-next 1/1] UBUNTU: SAUCE: (no-up) include/linux/secuirty.h -- fix syntax error with CONFIG_SECURITYFS=n

Andy Whitcroft apw at canonical.com
Thu Oct 6 13:22:12 UTC 2016


commit c2ac27f7a443 ("securityfs: update interface to allow
inode_ops, and setup from vfs") introduced a syntax error
in include/linux/security.h when CONFIG_SECURITYFS is not set.
This is exercised by the zfcpdump-kernel for s390x.

BugLink: http://bugs.launchpad.net/bugs/1630990
Signed-off-by: Andy Whitcroft <apw at canonical.com>
---
 include/linux/security.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/security.h b/include/linux/security.h
index dfec74d..9306771 100644
--- a/include/linux/security.h
+++ b/include/linux/security.h
@@ -1635,7 +1635,7 @@ static inline int __securityfs_setup_d_inode(struct inode *dir,
 					struct dentry *dentry,
 					umode_t mode, void *data,
 					const struct file_operations *fops,
-					const struct inode_operations *iops))
+					const struct inode_operations *iops)
 {
 	return -ENODEV;
 }
-- 
2.9.3





More information about the kernel-team mailing list