ext4: Simplify the usage of clear_opt() and set_opt() macros
[pandora-kernel.git] / fs / ext4 / mballoc.c
index 5b4d4e3..731b6f7 100644 (file)
@@ -2617,7 +2617,7 @@ static inline int ext4_issue_discard(struct super_block *sb,
        ret = sb_issue_discard(sb, discard_block, count, GFP_NOFS, 0);
        if (ret == -EOPNOTSUPP) {
                ext4_warning(sb, "discard not supported, disabling");
-               clear_opt(EXT4_SB(sb)->s_mount_opt, DISCARD);
+               clear_opt(sb, DISCARD);
        }
        return ret;
 }