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-- 680 bytes
Makefile -rw-r--r-- 247 bytes
alloc.c -rw-r--r-- 14.4 KB
anode.c -rw-r--r-- 15.4 KB
buffer.c -rw-r--r-- 5.3 KB
dentry.c -rw-r--r-- 1.4 KB
dir.c -rw-r--r-- 8.7 KB
dnode.c -rw-r--r-- 30.4 KB
ea.c -rw-r--r-- 11.4 KB
file.c -rw-r--r-- 5.7 KB
hpfs.h -rw-r--r-- 17.9 KB
hpfs_fn.h -rw-r--r-- 13.0 KB
inode.c -rw-r--r-- 8.8 KB
map.c -rw-r--r-- 9.8 KB
name.c -rw-r--r-- 3.2 KB
namei.c -rw-r--r-- 15.7 KB
super.c -rw-r--r-- 20.0 KB

back to top