]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
misc: define alternative errno if OS doesn't provide ENODATA
authorTheodore Ts'o <tytso@mit.edu>
Wed, 4 Jun 2025 00:16:30 +0000 (00:16 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 4 Jun 2025 00:16:30 +0000 (00:16 +0000)
commit84edbfa27dfe1675db7a02dc2dc86b3f27f42bcb
treeb5a46b15e1890501ef0c2398a1740664add4188a
parent41b400841b85dd7fb72fb0e605e33d7d7b146f71
misc: define alternative errno if OS doesn't provide ENODATA

FreeBSD doesn't define ENODATA, and uses ENOATTR when an extended
attribute is not found.  So map ENODATA to ENOATTR to fix a build
failure for platforms that don't define ENODATA.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/fuse2fs.c