]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - fs/efivarfs/file.c
efivarfs: 'efivarfs_file_write' function reorganization
authorGeyslan G. Bem <geyslan@gmail.com>
Wed, 30 Oct 2013 18:57:41 +0000 (15:57 -0300)
committerMatt Fleming <matt.fleming@intel.com>
Tue, 4 Mar 2014 16:16:16 +0000 (16:16 +0000)
commitaca32b5768bb314f5f3f42e26822424468412f5a
tree920a5e605f3fe2c7ad77249ae655529dfaa3ad93
parent0f8093a92da77afe24fd258a5a1037bb2b97a870
efivarfs: 'efivarfs_file_write' function reorganization

This reorganization removes useless 'bytes' prior assignment and uses
'memdup_user' instead 'kmalloc' + 'copy_from_user'.

Signed-off-by: Geyslan G. Bem <geyslan@gmail.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
fs/efivarfs/file.c