]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/ext4/indirect.c
Merge remote-tracking branch 'ftrace/for-next'
[karo-tx-linux.git] / fs / ext4 / indirect.c
index 2468261748b2c53a7ee5ebafadc388a8bb2835ad..355ef9c36c878e3932f356176abcaefb88b9d4cb 100644 (file)
@@ -562,11 +562,10 @@ int ext4_ind_map_blocks(handle_t *handle, struct inode *inode,
        /*
         * Okay, we need to do block allocation.
        */
-       if (EXT4_HAS_RO_COMPAT_FEATURE(inode->i_sb,
-                                      EXT4_FEATURE_RO_COMPAT_BIGALLOC)) {
+       if (ext4_has_feature_bigalloc(inode->i_sb)) {
                EXT4_ERROR_INODE(inode, "Can't allocate blocks for "
                                 "non-extent mapped inodes with bigalloc");
-               return -EUCLEAN;
+               return -EFSCORRUPTED;
        }
 
        /* Set up for the direct block allocation */