commit | d1921364137cc4b60e95bda14ca2befeb7097223 | [log] [tgz] |
---|---|---|
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | Wed Feb 13 12:15:24 2019 +0100 |
committer | Tom Rini <trini@konsulko.com> | Tue Apr 09 15:34:15 2019 -0400 |
tree | 8a2b6570dcf3c37f581346ae8366d32fe91d64a1 | |
parent | d2fd35c3af9971a13f923dc270bbe3c24cb3712a [diff] |
fs: ext4: constify the buffer passed to write functions There is no need to modify the buffer passed to ext4fs_write_file(). The memset() call is not required here and was likely copied from the equivalent part of the ext4fs_read_file() function where we do need it. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>