Skip to content

Commit

Permalink
configure: fix blkdev.h include for discard definition
Browse files Browse the repository at this point in the history
A previous commit added compat support for this, but it's outputting
to the wrong file for the case where just blkdev.h is needed.

Fixes: 906a456 ("Add io_uring_prep_cmd_discard")
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
axboe committed Oct 21, 2024
1 parent 01b9255 commit 03aab18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ cat >> $compat_h << EOF
#endif
EOF
else cat >> $discard_cmd << EOF
else cat >> $compat_h << EOF
#include <linux/blkdev.h>
EOF
Expand Down

0 comments on commit 03aab18

Please sign in to comment.