commit | 6bd2b5d80db5630cb73e3e5a4be3b38afa241c5a | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Aug 05 11:56:38 2010 -0700 |
committer | Colin Cross <ccross@android.com> | Thu Aug 05 14:38:47 2010 -0700 |
tree | eb95b397af1cbfc69091324f65173f88862b81af | |
parent | 7eb4165b83ca3724b64c8925fa530362b6072bc2 [diff] |
Fix calculation of dentry size The PAD_TO function was incorrectly handling values that were already aligned, which could lead to overruns of the dentry block. Fix the function, rename it to ALIGN, move it to ext4_utils.h, and use it everywhere the dentry size is calculated. Change-Id: Ie9778d2c6f72d3db9a3162e52882377a71b8420a