author: Christoph Hellwig <hch@lst.de> 2020-05-13 08:45:59 +0200
committer: Christoph Hellwig <hch@lst.de> 2020-07-08 08:27:56 +0200
commit: 13c164b1a186dfe17d104d9638b86a06be1e40bf
parent: 97c7990c4bf6423578f5b7317027ff8b6fb7cdf6
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/autofs/waitq.c b/fs/autofs/waitq.c
index b04c528b19d3..74c886f7c51c 100644
--- a/fs/autofs/waitq.c
+++ b/fs/autofs/waitq.c
@@ -53,7 +53,7 @@ static int autofs_write(struct autofs_sb_info *sbi,
mutex_lock(&sbi->pipe_mutex);
while (bytes) {
- wr = __kernel_write(file, data, bytes, &file->f_pos);
+ wr = kernel_write(file, data, bytes, &file->f_pos);
if (wr <= 0)
break;
data += wr;