]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - fs/ncpfs/inode.c
don't put symlink bodies in pagecache into highmem
[mirror_ubuntu-zesty-kernel.git] / fs / ncpfs / inode.c
index 9605a2f635490ddf498c72049d7b40d84e7f977b..bb856f7e05fd86fcc28b8611a6bd58abe53c86d9 100644 (file)
@@ -283,6 +283,7 @@ ncp_iget(struct super_block *sb, struct ncp_entry_info *info)
 #if defined(CONFIG_NCPFS_EXTRAS) || defined(CONFIG_NCPFS_NFS_NS)
                } else if (S_ISLNK(inode->i_mode)) {
                        inode->i_op = &ncp_symlink_inode_operations;
+                       inode_nohighmem(inode);
                        inode->i_data.a_ops = &ncp_symlink_aops;
 #endif
                } else {