| commit | add1e9d2f576a3222faba16a11868eb178d2ba86 | [log] [tgz] |
|---|---|---|
| author | Darrick J. Wong <djwong@kernel.org> | Tue Sep 23 10:08:57 2025 -0700 |
| committer | Andrey Albershteyn <aalbersh@kernel.org> | Thu Sep 25 11:18:10 2025 +0200 |
| tree | 1515ca005114b1a0790124341dd1fe2dda517b70 | |
| parent | 75faf2bc907584acc879accae60a59bd655b6b6a [diff] |
mkfs: fix libxfs_iget return value sign inversion
libxfs functions return negative errno, so utilities must invert the
return values from such functions. Caught by xfs/437.
Fixes: 8a4ea72724930c ("proto: add ability to populate a filesystem from a directory")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Andrey Albershteyn <aalbersh@kernel.org>