Backport BTRFS and EXT4 updates from mainline v3.8.