diff options
-rw-r--r-- | fs/ext4/mballoc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c index 611c866ef3fe..11c2eec386ef 100644 --- a/fs/ext4/mballoc.c +++ b/fs/ext4/mballoc.c | |||
@@ -2603,7 +2603,7 @@ int ext4_mb_release(struct super_block *sb) | |||
2603 | return 0; | 2603 | return 0; |
2604 | } | 2604 | } |
2605 | 2605 | ||
2606 | static inline void ext4_issue_discard(struct super_block *sb, | 2606 | static inline int ext4_issue_discard(struct super_block *sb, |
2607 | ext4_group_t block_group, ext4_grpblk_t block, int count) | 2607 | ext4_group_t block_group, ext4_grpblk_t block, int count) |
2608 | { | 2608 | { |
2609 | int ret; | 2609 | int ret; |
@@ -2617,6 +2617,7 @@ static inline void ext4_issue_discard(struct super_block *sb, | |||
2617 | ext4_warning(sb, "discard not supported, disabling"); | 2617 | ext4_warning(sb, "discard not supported, disabling"); |
2618 | clear_opt(EXT4_SB(sb)->s_mount_opt, DISCARD); | 2618 | clear_opt(EXT4_SB(sb)->s_mount_opt, DISCARD); |
2619 | } | 2619 | } |
2620 | return ret; | ||
2620 | } | 2621 | } |
2621 | 2622 | ||
2622 | /* | 2623 | /* |