From: Ned Bass Date: Wed, 12 Dec 2012 23:55:51 +0000 (-0800) Subject: Avoid ELOOP on auto-mounted snapshots X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=commitdiff_plain;h=7afcf5b1da83549bfba70a61fae7a00eaa63c2b0;hp=7afcf5b1da83549bfba70a61fae7a00eaa63c2b0;p=zfs.git 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. Signed-off-by: Brian Behlendorf Closes #816 ---