[PATCH v2] btrfs: add missing check for nocow and compression inode flags