don't put symlink bodies in pagecache into highmem
[sfrench/cifs-2.6.git] / fs / ocfs2 / namei.c
index a03f6f433075c02d3c87c192b362d2c7f2e96952..2efe8afc82c53820314a54ab0ca8bcf3736637a9 100644 (file)
@@ -1960,6 +1960,7 @@ static int ocfs2_symlink(struct inode *dir,
        inode->i_rdev = 0;
        newsize = l - 1;
        inode->i_op = &ocfs2_symlink_inode_operations;
+       inode_nohighmem(inode);
        if (l > ocfs2_fast_symlink_chars(sb)) {
                u32 offset = 0;