diff --git a/drivers/filesystems/ext2/inc/ext2fs.h b/drivers/filesystems/ext2/inc/ext2fs.h index 525a1d1bc9e..10ec2eab5f2 100644 --- a/drivers/filesystems/ext2/inc/ext2fs.h +++ b/drivers/filesystems/ext2/inc/ext2fs.h @@ -2495,7 +2495,8 @@ struct buffer_head *ext3_bread(struct ext2_icb *icb, struct inode *inode, int add_dirent_to_buf(struct ext2_icb *icb, struct dentry *dentry, struct inode *inode, struct ext3_dir_entry_2 *de, struct buffer_head *bh); -#if !defined(__REACTOS__) || defined(_MSC_VER) +#if !defined(__REACTOS__) || (defined(_MSC_VER) && !defined(__clang__)) +/* FIXME: Inspect the clang-cl code path */ struct ext3_dir_entry_2 * do_split(struct ext2_icb *icb, struct inode *dir, struct buffer_head **bh,struct dx_frame *frame, diff --git a/drivers/filesystems/ext2/src/ext3/htree.c b/drivers/filesystems/ext2/src/ext3/htree.c index 8d5bd4dab42..edf59350bc1 100644 --- a/drivers/filesystems/ext2/src/ext3/htree.c +++ b/drivers/filesystems/ext2/src/ext3/htree.c @@ -1596,6 +1596,11 @@ int ext3_release_dir (struct inode * inode, struct file * filp) return 0; } +/* FIXME: Inspect the clang-cl code path */ +#if defined(__REACTOS__) && defined(__clang__) +struct ext3_dir_entry_2* do_split(struct ext2_icb *icb, struct inode *dir, struct buffer_head **bh,struct dx_frame *frame, struct dx_hash_info *hinfo, int *error); +#endif + /* * Returns 0 for success, or a negative error value */