ANDROID: fs: export vfs_{read|write}
Needed for f_mtp.ko driver. Signed-off-by: Will McVicker <willmcvicker@google.com> Bug: 160113355 Change-Id: I3a2711827b3bc87cc70c8ce80510bee70e6e19b3
This commit is contained in:
parent
41222a8582
commit
67f9ecedf1
@ -459,6 +459,7 @@ ssize_t vfs_read(struct file *file, char __user *buf, size_t count, loff_t *pos)
|
||||
|
||||
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)
|
||||
{
|
||||
@ -557,6 +558,7 @@ ssize_t vfs_write(struct file *file, const char __user *buf, size_t count, loff_
|
||||
|
||||
return ret;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(vfs_write);
|
||||
|
||||
static inline loff_t file_pos_read(struct file *file)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user