mtd: check for Seama magic early when fixing MD5
author rmilecki
()
committer rmilecki
()
commit d60cac85a21c934ec699b65324d4282e32950bab
tree 32f496aeb206044acfc1a82bdac56bf050e5c5df
parent a34af7211a5cffce9ee6ecdf0699b948d6415212
mtd: check for Seama magic early when fixing MD5

This avoid long (and unneeded) process of reading all data in case of
running on MTD not containig Seama entity.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49304 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/system/mtd/src/seama.c
comments