mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-02 09:16:41 +09:00
Merge tag 'configfs-for-4.7' of git://git.infradead.org/users/hch/configfs
Pull configfs fix from Christoph Hellwig: "A fix from Marek for ppos handling in configfs_write_bin_file, which was introduced in Linux 4.5, but didn't have any users until recently" * tag 'configfs-for-4.7' of git://git.infradead.org/users/hch/configfs: configfs: Remove ppos increment in configfs_write_bin_file
This commit is contained in:
@@ -357,8 +357,6 @@ configfs_write_bin_file(struct file *file, const char __user *buf,
|
||||
|
||||
len = simple_write_to_buffer(buffer->bin_buffer,
|
||||
buffer->bin_buffer_size, ppos, buf, count);
|
||||
if (len > 0)
|
||||
*ppos += len;
|
||||
out:
|
||||
mutex_unlock(&buffer->mutex);
|
||||
return len;
|
||||
|
||||
Reference in New Issue
Block a user