commit | 948bf3aec767bd06433ec5201d51224ead2f9ec0 | [log] [tgz] |
---|---|---|
author | Phillip Lougher <phillip@squashfs.org.uk> | Sun Mar 02 02:23:54 2014 +0000 |
committer | Mohamad Ayyash <mkayyash@google.com> | Mon Feb 23 12:36:16 2015 -0800 |
tree | 9a9c21b6229776e3233ac42fcf0f7f783680dbf0 | |
parent | c348913db46112769cb37e88f8211adcc0af52cb [diff] |
mksquashfs: pass reader_buffer to write_file_empty() Make the behaviour of write_file_empty() match the other write_file_*() functions, where it deletes the reader_buffer. This removes the messy special handling of write_file_empty() in write_file() where it has to delete the reader_buffer but only for write_file_empty(). Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>