From 84d02150dea7571dc32176e35d65eecde82631a9 Mon Sep 17 00:00:00 2001 From: Mike Marshall Date: Tue, 28 Jul 2015 13:27:51 -0400 Subject: Orangefs: sooth most sparse complaints Signed-off-by: Mike Marshall --- fs/orangefs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs/orangefs/inode.c') diff --git a/fs/orangefs/inode.c b/fs/orangefs/inode.c index feda00fcdd7d..9ff6b2985240 100644 --- a/fs/orangefs/inode.c +++ b/fs/orangefs/inode.c @@ -33,7 +33,7 @@ static int read_one_page(struct page *page) loff_t blockptr_offset = (((loff_t) page->index) << blockbits); bytes_read = pvfs2_inode_read(inode, - page_data, + (char __user *) page_data, blocksize, &blockptr_offset, inode->i_size); -- cgit v1.2.3