The following patch converts the ext4 to use the new mount API (Documentation/filesystems/mount_api.txt). The series can be applied on top of the current mainline tree and the work is based on the patches from David Howells (thank you David). It was built and tested with xfstests and custom test for ext4 mount options that was sent over at fstests@xxxxxxxxxxxxxxx for inclusion into xfstests. I've tried to avoid big unrelated changes to the original ext4_fill_super() and ext4_remount, though it could definitely use some cleanup. This can be done after the conversion with a separate patch set as I don't want to pollute the conversion with additional cleanup work. NOTE: There seems to be a regression somewhere in the new mount api as running generic/085 in the loop locks up the machine. I was not able to track the cause of it, but it seems to be outside of ext4. Dave is already looking into it. Changes: v2: rebased to current kernel -Lukas