fs/fat/fat_write: Merge calls to set_cluster()
authorBenoît Thébaudeau <benoit@wsystem.com>
Mon, 28 Sep 2015 13:45:29 +0000 (15:45 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 11 Oct 2015 21:12:07 +0000 (17:12 -0400)
commit1d7f2ece69c9d80264321bc4ee07f57eec392538
treeee9f7a5b86d972a20dd38df4666cab4af9cc2026
parent8133f43d1cd4f0df0a6b4c2aa99a47753fda20d6
fs/fat/fat_write: Merge calls to set_cluster()

set_contents() had uselessly split calls to set_cluster(). Merge these
calls, which removes some cases of set_cluster() being called with a
size of zero.

Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
fs/fat/fat_write.c