Re: [PATCH v2] efivarfs: 'efivarfs_file_write' functionreorganization

From: Matt Fleming
Date: Fri Nov 08 2013 - 10:30:22 EST


On Wed, 30 Oct, at 03:57:41PM, Geyslan G. Bem wrote:
> This reorganization:
>
> Removes useless 'bytes' prior assignment.
>
> Uses 'memdup_user' instead 'kmalloc' + 'copy_from_user'.
>
> Signed-off-by: Geyslan G. Bem <geyslan@xxxxxxxxx>
> ---
> fs/efivarfs/file.c | 13 ++++---------
> 1 file changed, 4 insertions(+), 9 deletions(-)

Thanks, this is what I applied,

---