From: Darrick J. Wong Date: Sun, 29 Apr 2012 22:29:10 +0000 (-0400) Subject: ext4: calculate and verify superblock checksum X-Git-Tag: v3.5-rc1~16^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9c4731780544d52b243bf46e4dd635c67fa9f84;p=pandora-kernel.git ext4: calculate and verify superblock checksum Calculate and verify the superblock checksum. Since the UUID and block group number are embedded in each copy of the superblock, we need only checksum the entire block. Refactor some of the code to eliminate open-coding of the checksum update call. Signed-off-by: Darrick J. Wong Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed