aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorTheodore Ts'o <[email protected]>2014-02-12 17:16:04 +0000
committerTheodore Ts'o <[email protected]>2014-02-12 17:16:04 +0000
commit23301410972330c0ae9a8afc379ba2005e249cc6 (patch)
tree5931e3ca6be2f6d7b98525ce204f908c30a30936 /fs/jbd2/commit.c
parentext4: fix error paths in swap_inode_boot_loader() (diff)
downloadkernel-23301410972330c0ae9a8afc379ba2005e249cc6.tar.gz
kernel-23301410972330c0ae9a8afc379ba2005e249cc6.zip
ext4: don't try to modify s_flags if the the file system is read-only
If an ext4 file system is created by some tool other than mke2fs (perhaps by someone who has a pathalogical fear of the GPL) that doesn't set one or the other of the EXT2_FLAGS_{UN}SIGNED_HASH flags, and that file system is then mounted read-only, don't try to modify the s_flags field. Otherwise, if dm_verity is in use, the superblock will change, causing an dm_verity failure. Signed-off-by: "Theodore Ts'o" <[email protected]> Cc: [email protected]
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions