提交 97c7990c 编写于 作者: C Christoph Hellwig

cachefiles: switch to kernel_write

__kernel_write doesn't take a sb_writers references, which we need here.
Signed-off-by: NChristoph Hellwig <hch@lst.de>
Reviewed-by: NDavid Howells <dhowells@redhat.com>
上级 dcde237b
......@@ -937,7 +937,7 @@ int cachefiles_write_page(struct fscache_storage *op, struct page *page)
}
data = kmap(page);
ret = __kernel_write(file, data, len, &pos);
ret = kernel_write(file, data, len, &pos);
kunmap(page);
fput(file);
if (ret != len)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册