]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: support read-only images
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 13 Feb 2015 03:31:21 +0000 (22:31 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 13 Feb 2015 03:31:21 +0000 (22:31 -0500)
commite1dcaeca700370a95fef3ebd02b6b162f08afb8c
treea172f96f3dca8c8432786eef7d103138ef859370
parent95804ac9b3c0299070fd9fa6a9d3fb3a86c9e526
ext4: support read-only images

Add a rocompat feature, "readonly" to mark a FS image as read-only.
The feature prevents the kernel and e2fsprogs from changing the image;
the flag can be toggled by tune2fs.

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