commit | c3ab0b8f0e9fed88194ce66d9b78d3fc2b3d2925 | [log] [tgz] |
---|---|---|
author | Rob Clark <robdclark@gmail.com> | Sat Sep 09 13:16:00 2017 -0400 |
committer | Tom Rini <trini@konsulko.com> | Fri Sep 15 09:03:15 2017 -0400 |
tree | d1275a8421fe74498d39d61059595c5648845eb2 | |
parent | fd6c6b4f006bcceaaa601b372844f534d053df83 [diff] |
fs/fat: Clean up open-coded sector <-> cluster conversions Use the clust_to_sect() helper that was introduced earlier, and add an inverse sect_to_clust(), plus update the various spots that open-coded this conversion previously. Signed-off-by: Rob Clark <robdclark@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>