Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[firefly-linux-kernel-4.4.55.git] / fs / squashfs / symlink.c
index 1191817264cc22dc1b07b6d5ca14aee99668e33c..12806dffb3454ed1a898bbdd7b2ca272d071694f 100644 (file)
@@ -90,14 +90,14 @@ static int squashfs_symlink_readpage(struct file *file, struct page *page)
                        goto error_out;
                }
 
-               pageaddr = kmap_atomic(page, KM_USER0);
+               pageaddr = kmap_atomic(page);
                copied = squashfs_copy_data(pageaddr + bytes, entry, offset,
                                                                length - bytes);
                if (copied == length - bytes)
                        memset(pageaddr + length, 0, PAGE_CACHE_SIZE - length);
                else
                        block = entry->next_index;
-               kunmap_atomic(pageaddr, KM_USER0);
+               kunmap_atomic(pageaddr);
                squashfs_cache_put(entry);
        }