X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=fs%2Fread_write.c;h=76017f8331fbf9d929b6a7bee1b2e0035756bed1;hb=2241ddf5515cf5dfd9938098aa34bb80c53d188a;hp=af057c57bdc6447177bfc03e276ba2cd63bd9401;hpb=35776f10513c0d523c5dd2f1b415f642497779e2;p=mirror_ubuntu-jammy-kernel.git diff --git a/fs/read_write.c b/fs/read_write.c index af057c57bdc6..76017f8331fb 100644 --- a/fs/read_write.c +++ b/fs/read_write.c @@ -492,6 +492,7 @@ ssize_t vfs_read(struct file *file, char __user *buf, size_t count, loff_t *pos) inc_syscr(current); return ret; } +EXPORT_SYMBOL_GPL(vfs_read); static ssize_t new_sync_write(struct file *filp, const char __user *buf, size_t len, loff_t *ppos) { @@ -602,6 +603,7 @@ ssize_t vfs_write(struct file *file, const char __user *buf, size_t count, loff_ file_end_write(file); return ret; } +EXPORT_SYMBOL_GPL(vfs_write); /* file_ppos returns &file->f_pos or NULL if file is stream */ static inline loff_t *file_ppos(struct file *file)