diff options
| -rw-r--r-- | fs/ext4/inline.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ext4/inline.c b/fs/ext4/inline.c index 27373d88b5f0..56f6e1782d5f 100644 --- a/fs/ext4/inline.c +++ b/fs/ext4/inline.c | |||
| @@ -1890,12 +1890,12 @@ int ext4_inline_data_fiemap(struct inode *inode, | |||
| 1890 | physical += (char *)ext4_raw_inode(&iloc) - iloc.bh->b_data; | 1890 | physical += (char *)ext4_raw_inode(&iloc) - iloc.bh->b_data; |
| 1891 | physical += offsetof(struct ext4_inode, i_block); | 1891 | physical += offsetof(struct ext4_inode, i_block); |
| 1892 | 1892 | ||
| 1893 | if (physical) | ||
| 1894 | error = fiemap_fill_next_extent(fieinfo, start, physical, | ||
| 1895 | inline_len, flags); | ||
| 1896 | brelse(iloc.bh); | 1893 | brelse(iloc.bh); |
| 1897 | out: | 1894 | out: |
| 1898 | up_read(&EXT4_I(inode)->xattr_sem); | 1895 | up_read(&EXT4_I(inode)->xattr_sem); |
| 1896 | if (physical) | ||
| 1897 | error = fiemap_fill_next_extent(fieinfo, start, physical, | ||
| 1898 | inline_len, flags); | ||
| 1899 | return (error < 0 ? error : 0); | 1899 | return (error < 0 ? error : 0); |
| 1900 | } | 1900 | } |
| 1901 | 1901 | ||
