]> Pileus Git - ~andy/linux/blobdiff - fs/btrfs/lzo.c
Merge branch 'x86-fpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[~andy/linux] / fs / btrfs / lzo.c
index a178f5ebea78986c3d1614b5ffed51797dd1faa5..743b86fa4fcb326adea754c65e39f88fb114a518 100644 (file)
@@ -411,9 +411,9 @@ static int lzo_decompress(struct list_head *ws, unsigned char *data_in,
 
        bytes = min_t(unsigned long, destlen, out_len - start_byte);
 
-       kaddr = kmap_atomic(dest_page, KM_USER0);
+       kaddr = kmap_atomic(dest_page);
        memcpy(kaddr, workspace->buf + start_byte, bytes);
-       kunmap_atomic(kaddr, KM_USER0);
+       kunmap_atomic(kaddr);
 out:
        return ret;
 }