aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/shmem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/shmem.c b/mm/shmem.c
index 32f6763f16fb..2d3577295298 100644
--- a/mm/shmem.c
+++ b/mm/shmem.c
@@ -1458,7 +1458,7 @@ shmem_mknod(struct inode *dir, struct dentry *dentry, int mode, dev_t dev)
1458 inode = shmem_get_inode(dir->i_sb, dir, mode, dev, VM_NORESERVE); 1458 inode = shmem_get_inode(dir->i_sb, dir, mode, dev, VM_NORESERVE);
1459 if (inode) { 1459 if (inode) {
1460 error = security_inode_init_security(inode, dir, 1460 error = security_inode_init_security(inode, dir,
1461 &dentry->d_name, NULL, 1461 &dentry->d_name,
1462 NULL, NULL); 1462 NULL, NULL);
1463 if (error) { 1463 if (error) {
1464 if (error != -EOPNOTSUPP) { 1464 if (error != -EOPNOTSUPP) {
@@ -1598,7 +1598,7 @@ static int shmem_symlink(struct inode *dir, struct dentry *dentry, const char *s
1598 if (!inode) 1598 if (!inode)
1599 return -ENOSPC; 1599 return -ENOSPC;
1600 1600
1601 error = security_inode_init_security(inode, dir, &dentry->d_name, NULL, 1601 error = security_inode_init_security(inode, dir, &dentry->d_name,
1602 NULL, NULL); 1602 NULL, NULL);
1603 if (error) { 1603 if (error) {
1604 if (error != -EOPNOTSUPP) { 1604 if (error != -EOPNOTSUPP) {