summaryrefslogtreecommitdiff
path: root/fs/cachefiles
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-05-13 09:42:36 +0300
committerChristoph Hellwig <hch@lst.de>2020-07-08 09:27:56 +0300
commit97c7990c4bf6423578f5b7317027ff8b6fb7cdf6 (patch)
treeba856f213a9a9ebebc58634d49d9668aa54966b0 /fs/cachefiles
parentdcde237b9b0eb1d19306e6f48c0a4e058907619f (diff)
downloadlinux-97c7990c4bf6423578f5b7317027ff8b6fb7cdf6.tar.xz
cachefiles: switch to kernel_write
__kernel_write doesn't take a sb_writers references, which we need here. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/cachefiles')
-rw-r--r--fs/cachefiles/rdwr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cachefiles/rdwr.c b/fs/cachefiles/rdwr.c
index e7726f5f1241..3080cda9e824 100644
--- a/fs/cachefiles/rdwr.c
+++ b/fs/cachefiles/rdwr.c
@@ -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)