]> 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)
commitee02a35cc136a4fd3af995ef624c056a215c50b1
treef23c8117906fa29aa0ad3890dd5a2faa8d8ed811
parentb173dc7024f49bca0d1a84aee2fba4150fecd30c
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