ANDROID: dm verity fec: add sysfs attribute fec/corrected
authorSami Tolvanen <samitolvanen@google.com>
Wed, 30 Mar 2016 21:10:13 +0000 (14:10 -0700)
committerAmit Pundir <amit.pundir@linaro.org>
Thu, 7 Apr 2016 11:20:07 +0000 (16:50 +0530)
commit73a20ae3132fc35ba83b6c622fc60b8fc9fe7589
tree2290ed8e5660d1542f489f2f90797d67c48d2396
parentdc6fc413a1efb257a5947ca2412407297b92268a
ANDROID: dm verity fec: add sysfs attribute fec/corrected

Add a sysfs entry that allows user space to determine whether dm-verity
has come across correctable errors on the underlying block device.

Bug: 22655252
Bug: 27928374
Change-Id: I80547a2aa944af2fb9ffde002650482877ade31b
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
(cherry picked from commit 7911fad5f0a2cf5afc2215657219a21e6630e001)
drivers/md/dm-verity-fec.c
drivers/md/dm-verity-fec.h