https://github.com/torvalds/linux
Revision 704c2317cab5571da0e5763cd47ad07f8900aa76 authored by Theodore Ts'o on 19 November 2020, 20:36:25 UTC, committed by Theodore Ts'o on 19 November 2020, 20:41:57 UTC
The options in /proc/mounts must be valid mount options --- and
fast_commit is not a mount option.  Otherwise, command sequences like
this will fail:

    # mount /dev/vdc /vdc
    # mkdir -p /vdc/phoronix_test_suite /pts
    # mount --bind /vdc/phoronix_test_suite /pts
    # mount -o remount,nodioread_nolock /pts
    mount: /pts: mount point not mounted or bad option.

And in the system logs, you'll find:

    EXT4-fs (vdc): Unrecognized mount option "fast_commit" or missing value

Fixes: 995a3ed67fc8 ("ext4: add fast_commit feature and handling for extended mount options")
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
1 parent 09162bc
History
Tip revision: 704c2317cab5571da0e5763cd47ad07f8900aa76 authored by Theodore Ts'o on 19 November 2020, 20:36:25 UTC
ext4: drop fast_commit from /proc/mounts
Tip revision: 704c231
File Mode Size
Kconfig -rw-r--r-- 1.5 KB
Makefile -rw-r--r-- 486 bytes
acl.c -rw-r--r-- 3.1 KB
file.c -rw-r--r-- 3.7 KB
inode.c -rw-r--r-- 9.7 KB
ioctl.c -rw-r--r-- 3.8 KB
jfs_acl.h -rw-r--r-- 525 bytes
jfs_btree.h -rw-r--r-- 3.3 KB
jfs_debug.c -rw-r--r-- 1.9 KB
jfs_debug.h -rw-r--r-- 2.7 KB
jfs_dinode.h -rw-r--r-- 5.1 KB
jfs_discard.c -rw-r--r-- 2.4 KB
jfs_discard.h -rw-r--r-- 337 bytes
jfs_dmap.c -rw-r--r-- 110.9 KB
jfs_dmap.h -rw-r--r-- 10.5 KB
jfs_dtree.c -rw-r--r-- 99.8 KB
jfs_dtree.h -rw-r--r-- 5.9 KB
jfs_extent.c -rw-r--r-- 16.6 KB
jfs_extent.h -rw-r--r-- 626 bytes
jfs_filsys.h -rw-r--r-- 8.2 KB
jfs_imap.c -rw-r--r-- 83.2 KB
jfs_imap.h -rw-r--r-- 5.8 KB
jfs_incore.h -rw-r--r-- 6.8 KB
jfs_inode.c -rw-r--r-- 2.8 KB
jfs_inode.h -rw-r--r-- 1.8 KB
jfs_lock.h -rw-r--r-- 883 bytes
jfs_logmgr.c -rw-r--r-- 58.2 KB
jfs_logmgr.h -rw-r--r-- 14.0 KB
jfs_metapage.c -rw-r--r-- 18.5 KB
jfs_metapage.h -rw-r--r-- 3.5 KB
jfs_mount.c -rw-r--r-- 12.0 KB
jfs_superblock.h -rw-r--r-- 3.4 KB
jfs_txnmgr.c -rw-r--r-- 73.8 KB
jfs_txnmgr.h -rw-r--r-- 7.6 KB
jfs_types.h -rw-r--r-- 3.6 KB
jfs_umount.c -rw-r--r-- 3.3 KB
jfs_unicode.c -rw-r--r-- 2.6 KB
jfs_unicode.h -rw-r--r-- 3.1 KB
jfs_uniupr.c -rw-r--r-- 6.8 KB
jfs_xattr.h -rw-r--r-- 1.8 KB
jfs_xtree.c -rw-r--r-- 91.1 KB
jfs_xtree.h -rw-r--r-- 3.1 KB
namei.c -rw-r--r-- 36.5 KB
resize.c -rw-r--r-- 14.1 KB
super.c -rw-r--r-- 23.6 KB
symlink.c -rw-r--r-- 499 bytes
xattr.c -rw-r--r-- 25.1 KB

back to top