diff options
author | Christoph Hellwig <hch@lst.de> | 2020-05-13 08:42:36 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-07-08 08:27:56 +0200 |
commit | 97c7990c4bf6423578f5b7317027ff8b6fb7cdf6 (patch) | |
tree | ba856f213a9a9ebebc58634d49d9668aa54966b0 /fs/cachefiles | |
parent | Merge tag 'perf-tools-fixes-2020-07-07' of git://git.kernel.org/pub/scm/linux... (diff) | |
download | linux-97c7990c4bf6423578f5b7317027ff8b6fb7cdf6.tar.xz linux-97c7990c4bf6423578f5b7317027ff8b6fb7cdf6.zip |
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.c | 2 |
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) |