|
@@ -959,8 +959,11 @@ static int ext2_fill_super(struct super_block *sb, void *data, int silent)
|
|
|
|
|
|
if (sbi->s_mount_opt & EXT2_MOUNT_DAX) {
|
|
|
err = bdev_dax_supported(sb, blocksize);
|
|
|
- if (err)
|
|
|
- goto failed_mount;
|
|
|
+ if (err) {
|
|
|
+ ext2_msg(sb, KERN_ERR,
|
|
|
+ "DAX unsupported by block device. Turning off DAX.");
|
|
|
+ sbi->s_mount_opt &= ~EXT2_MOUNT_DAX;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
/* If the blocksize doesn't match, re-read the thing.. */
|