diff options
author | Brian Norris <computersforpeace@gmail.com> | 2015-11-21 01:10:54 +0300 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2015-12-17 00:46:26 +0300 |
commit | 2e69d4912f2fc9d4cd952311d58ceae1cd83057b (patch) | |
tree | 76d90def57448d93bf168ebe14c454463e4cbfaa /fs/jbd2/commit.c | |
parent | 97cb69dd800a471c3ee2467be3826badd9c12883 (diff) | |
download | linux-2e69d4912f2fc9d4cd952311d58ceae1cd83057b.tar.xz |
UBI: fix use of "VID" vs. "EC" in header self-check
Looks like a typo, using UBI_EC_HDR_SIZE_CRC (note the "EC") to compute
the CRC for the VID header.
This shouldn't cause any functional change, as both structures are 64
bytes. Verified with:
BUILD_BUG_ON(UBI_VID_HDR_SIZE_CRC != UBI_EC_HDR_SIZE_CRC);
Reported here:
http://lists.infradead.org/pipermail/linux-mtd/2013-September/048570.html
Reported by: Bill Pringlemeir <bpringlemeir@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions