Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix multiple definitions of struct mount_attr on recent glibc versions
The ifdef used would never work because the CPP is not aware of C structure definitions. Rather than use an autotools check, we can just use a nameless structure that we typedef to mount_attr_t. This is a Linux kernel interface, which means that it is stable and this is fine to do. Closes openzfs#14057 Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
- Loading branch information