]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - fs/affs/namei.c
don't put symlink bodies in pagecache into highmem
[mirror_ubuntu-zesty-kernel.git] / fs / affs / namei.c
index 181e05b46e7261d32ab9390daf7007b017af1e84..00d3002a6780b339cf456417b742bf5c9f991ec8 100644 (file)
@@ -344,6 +344,7 @@ affs_symlink(struct inode *dir, struct dentry *dentry, const char *symname)
                return -ENOSPC;
 
        inode->i_op = &affs_symlink_inode_operations;
+       inode_nohighmem(inode);
        inode->i_data.a_ops = &affs_symlink_aops;
        inode->i_mode = S_IFLNK | 0777;
        mode_to_prot(inode);