statvfs does not detect readonly status when set through sysrq-u
Issue
Applications using statfs()
system call, which gets filesystem statistics, fail to detect read-only status of the filesystems when filesystems are remounted read-only by running echo u > /proc/sysrq-trigger
command.
Environment
- Red Hat Enterprise Linux 7
- ext4 filesystem
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.