]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7287923bdfbe787dfbb116183bb6030ac3cd91e8
tree920a5e605f3fe2c7ad77249ae655529dfaa3ad93
parentf9118a66ea36678db68cd435dd40dc738879c077
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