Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid ELOOP on auto-mounted snapshots
Ensure that the path member pointers are associated with the newly-mounted snapshot when zpl_snapdir_automount() returns. Otherwise the follow_automount() function may be called repeatedly, leading to an incorrect ELOOP error return. This problem was observed as a 'Too many levels of symbolic links' error from user-space commands accessing an unmounted snapshot in the .zfs/snapshot directory. Issue openzfs#816
- Loading branch information