Since debugfs and tracefs are cut & pasted one way or the other, do these at the same time. Both of these patches originated in dhowells' tree at https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=mount-api-viro https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/commit/?h=mount-api-viro&id=ec14be9e2aa76f63458466bba86256e123ec4e51 and https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/commit/?h=mount-api-viro&id=c4f2e60465859e02a6e36ed618dbaea16de8c8e0 I've forward-ported them to the mount API that landed, and fixed up remounting; ->reconfigure() needed to copy the parsed context options into the current superblock options to effect any remount changes. While these do use the invalf() functions for some errors, they are new messages, not messages that used to go to dmesg that would be lost if userspace isn't listening. I've done minimal testing - booting with the patches, testing some of the remount behavior for mode & uid. Oh, and I built it too. </brown_paper_bag> thanks, -Eric