]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - lib/ext2fs/swapfs.c
libext2fs: verify and calculate extended attribute block checksums
authorDarrick J. Wong <djwong@us.ibm.com>
Fri, 3 Aug 2012 00:47:44 +0000 (20:47 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 3 Aug 2012 00:47:44 +0000 (20:47 -0400)
commit39f5659ae3a0d9105ecddddfda2800b7002febc3
tree7a6c17c44798763faa6d407f9b66b5b8c65d6f9e
parent761b76a4c74ae3182648e80c210bad933236d928
libext2fs: verify and calculate extended attribute block checksums

Calculate and verify the checksum for separate (i.e. not in the inode)
extended attribute blocks; the checksum lives in the header.

[ Merged in change from Tao so that we always use the fs checksum seed
  for the xattr blocks. ]

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: Tao Ma <boyu.mt@taobao.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/pass1.c
e2fsck/pass1b.c
e2fsck/pass2.c
e2fsck/super.c
lib/ext2fs/csum.c
lib/ext2fs/ext2_err.et.in
lib/ext2fs/ext2fs.h
lib/ext2fs/ext_attr.c
lib/ext2fs/swapfs.c