Skip to content

Commit

Permalink
Revert "stress-hdd: make stress_hdd_opts_t field advise build dependant"
Browse files Browse the repository at this point in the history
This reverts commit 792f172.
  • Loading branch information
ColinIanKing committed Feb 17, 2025
1 parent 1e3f424 commit 2e67844
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions stress-hdd.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,7 @@ typedef struct {
const char *opt; /* User option */
const int flag; /* HDD_OPT_ flag */
const int exclude; /* Excluded HDD_OPT_ flags */
#if (defined(POSIX_FADV_SEQ) || defined(POSIX_FADV_RANDOM) || \
defined(POSIX_FADV_NOREUSE) || defined(POSIX_FADV_WILLNEED) || \
defined(POSIX_FADV_DONTNEED)) && \
defined(HAVE_POSIX_FADVISE)
const int advice; /* posix_fadvise value */ /* cppcheck-suppress unusedStructMember */
#endif
const int oflag; /* open O_* flags */
} stress_hdd_opts_t;

Expand Down

0 comments on commit 2e67844

Please sign in to comment.