]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: store checksum seed in superblock
authorDarrick J. Wong <darrick.wong@oracle.com>
Sat, 17 Oct 2015 20:16:02 +0000 (16:16 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 17 Oct 2015 20:16:02 +0000 (16:16 -0400)
commit393d6a283688861a962eac7c14807dc1d3560446
treef23c8117906fa29aa0ad3890dd5a2faa8d8ed811
parentab338582f83d1fe3c83dcc43047355bc933dc335
ext4: store checksum seed in superblock

Allow the filesystem to store the metadata checksum seed in the
superblock and add an incompat feature to say that we're using it.
This enables tune2fs to change the UUID on a mounted metadata_csum
FS without having to (racy!) rewrite all disk metadata.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/super.c
fs/ext4/sysfs.c