summaryrefslogtreecommitdiff
tag namescrub-dir-iget-fixes_2022-11-09 (dc4c43f213fd872aabd26de7752d82f2fc0b3325)
tag date2022-11-09 19:09:47 -0800
tagged byDarrick J. Wong <djwong@kernel.org>
tagged objectcommit deecaafd40...
xfs: fix iget usage in directory scrub
In this series, we fix some problems with how the directory scrubber grabs child inodes. First, we want to reduce EDEADLOCK returns by replacing fixed-iteration loops with interruptible trylock loops. Second, we add UNTRUSTED to the child iget call so that we can detect a dirent that points to an unallocated inode. Third, we fix a bug where we weren't checking the inode pointed to by dotdot entries at all. Signed-off-by: Darrick J. Wong <djwong@kernel.org> -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEUzaAxoMeQq6m2jMV+H93GTRKtOsFAmNsa3sACgkQ+H93GTRK tOvx0Q//S4KTM/1buUWYpRf2BNytU/KlcestisWuFH5C9qMRr1/aAGR9XN3onrJJ f4xUW1njSawyaw3NkQbuZD4yJIkK2yclF8Q/UdyBWI6J0PLj7R2etYegIgKCZQ91 d/Eg0F7YAYu8ltcT6KfHODGvTGMo+JzOj4wnRMO0QZoW2jJh9jUx9RysQZ8s0iv4 9d98JdCZnpG4G6hv1QZwA3XZ8NTkV0cfeJZxHExJCQGcxI+Nu5stEaD3jn1H9XrJ hz5f/QWYFBerjmj3PIJ0Z8yQ3dASvDFX506pLU6ZlAog5iAx+4I7cqk4Ccy9MWZ6 Mr34r+In8JKbOEgW3/ia7ttSB0njDkHoEwyUPqSxX6NsMko3D7UTzBnDqjxuQ/29 2aJDnCJYaSo7U+6fJVYniylx8olxQJ9oEa2UJPGWXgzPAXtkSxRkki93SggaL4p3 O+zJSSLsML1ObQsbY0ekCgdjGlrhf4lsT0E6JEZCVvFAicoWP5V6QL9drNqpVo9g /tFdIj4QKPu0kfcMf9g9w7rOGv5gVhcZ3fhYE8SClOPwp0nLiXLLYjryOZYPY1o6 eAB/cVWjrX0I0rU3oN2Qi4I1pXh7pxbFT7JIJNgjSBf99NRrYKSZzMxf+kEJWDPE H7o/7G63qr0VA6jEN9a+Miw8CzM7ugO8FC7v5bg4lMYND5ea1xg= =YLVI -----END PGP SIGNATURE-----