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)
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

diff --cc fs/ext4/ext4.h
Simple merge
diff --cc fs/ext4/super.c
Simple merge