linux-stable/fs/ext4
Eric Biggers 48d331a03b ext4: reject the 'commit' option on ext2 filesystems
[ Upstream commit cb8435dc8b ]

The 'commit' option is only applicable for ext3 and ext4 filesystems,
and has never been accepted by the ext2 filesystem driver, so the ext4
driver shouldn't allow it on ext2 filesystems.

This fixes a failure in xfstest ext4/053.

Fixes: 8dc0aa8cf0 ("ext4: check incompatible mount options while mounting ext2/3")
Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Ritesh Harjani <ritesh.list@gmail.com>
Reviewed-by: Lukas Czerner <lczerner@redhat.com>
Link: https://lore.kernel.org/r/20220510183232.172615-1-ebiggers@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-14 18:11:38 +02:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile ext4: add basic fs-verity support 2019-08-12 19:33:50 -07:00
acl.c ext4: compare old and new mode before setting update_mode flag 2018-12-10 00:22:38 -05:00
acl.h
balloc.c ext4: shrink race window in ext4_should_retry_alloc() 2021-04-07 14:47:38 +02:00
bitmap.c
block_validity.c ext4: correctly restore system zone info when remount fails 2020-09-03 11:26:57 +02:00
dir.c ext4: fix potential infinite loop in ext4_dx_readdir() 2021-10-06 15:42:37 +02:00
ext4.h ext4: fix use-after-free in ext4_search_dir 2022-04-27 13:50:50 +02:00
ext4_extents.h ext4: fix EXT_MAX_EXTENT/INDEX to check for zeroed eh_max 2020-06-22 09:31:15 +02:00
ext4_jbd2.c
ext4_jbd2.h ext4: use jbd2_inode dirty range scoping 2019-06-20 17:26:26 -04:00
extents.c ext4: prevent partial update of the extent blocks 2022-02-23 11:59:57 +01:00
extents_status.c ext4: remove check for zero nr_to_scan in ext4_es_scan() 2021-07-14 16:53:03 +02:00
extents_status.h ext4: use percpu_counters for extent_status cache hits/misses 2019-08-28 11:19:23 -04:00
file.c ext4: don't leak old mountpoint samples 2021-01-19 18:26:13 +01:00
fsmap.c ext4: limit entries returned when counting fsmap records 2020-10-29 09:57:55 +01:00
fsmap.h
fsync.c ext4: fix race between ext4_sync_parent() and rename() 2020-06-22 09:31:16 +02:00
hash.c ext4: fix kernel oops caused by spurious casefold flag 2019-09-03 01:43:17 -04:00
ialloc.c ext4: fix avefreec in find_group_orlov 2021-07-14 16:53:03 +02:00
indirect.c ext4: clean up kerneldoc warnigns when building with W=1 2019-06-19 16:30:03 -04:00
inline.c ext4: fix error handling in ext4_restore_inline_data() 2022-02-08 18:24:34 +01:00
inode.c ext4: limit length to bitmap_maxbytes - blocksize in punch_hole 2022-04-27 13:50:50 +02:00
ioctl.c ext4: avoid trim error on fs with small groups 2022-01-27 09:19:37 +01:00
mballoc.c ext4: avoid trim error on fs with small groups 2022-01-27 09:19:37 +01:00
mballoc.h
migrate.c ext4: don't use the orphan list when migrating an inode 2022-01-27 09:19:51 +01:00
mmp.c ext4: don't assume that mmp_nodename/bdevname have NUL 2020-02-19 19:52:58 +01:00
move_extent.c ext4: use jbd2_inode dirty range scoping 2019-06-20 17:26:26 -04:00
namei.c ext4: fix use-after-free in ext4_search_dir 2022-04-27 13:50:50 +02:00
page-io.c ext4: fix symlink file size not match to file content 2022-04-27 13:50:50 +02:00
readpage.c ext4: fix deadlock allocating bio_post_read_ctx from mempool 2020-02-24 08:36:29 +01:00
resize.c ext4: add check to prevent attempting to resize an fs with sparse_super2 2022-03-16 13:21:48 +01:00
super.c ext4: reject the 'commit' option on ext2 filesystems 2022-06-14 18:11:38 +02:00
symlink.c ext4: report correct st_size for encrypted symlinks 2021-09-12 08:56:38 +02:00
sysfs.c ext4: shrink race window in ext4_should_retry_alloc() 2021-04-07 14:47:38 +02:00
truncate.h ext4: handle layout changes to pinned DAX mappings 2018-07-29 17:00:22 -04:00
verity.c ext4: fix error handling in ext4_end_enable_verity() 2021-05-26 12:05:21 +02:00
xattr.c ext4: add reclaim checks to xattr code 2021-03-30 14:35:29 +02:00
xattr.h
xattr_security.c
xattr_trusted.c
xattr_user.c