Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git...
[muen/linux.git] / fs / ext4 / inline.c
index 851bc552d849bccf8644f64049d709e2e6c12683..e55a8bc870bd1ef0743cf479e0f1aa565eb364c6 100644 (file)
@@ -1842,8 +1842,8 @@ int ext4_inline_data_iomap(struct inode *inode, struct iomap *iomap)
        iomap->offset = 0;
        iomap->length = min_t(loff_t, ext4_get_inline_size(inode),
                              i_size_read(inode));
-       iomap->type = 0;
-       iomap->flags = IOMAP_F_DATA_INLINE;
+       iomap->type = IOMAP_INLINE;
+       iomap->flags = 0;
 
 out:
        up_read(&EXT4_I(inode)->xattr_sem);